From 953a6c6317156b6f308cb86c9fe125a85c3b534e Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Fri, 5 Nov 2010 14:05:55 -0700 Subject: [PATCH] Moved benchmarks --- .gitmodules | 3 +++ Makefile | 2 +- benchmarks/node-o3-canvas | 1 + examples/benchmark.js => benchmarks/run.js | 1 - 4 files changed, 5 insertions(+), 2 deletions(-) create mode 160000 benchmarks/node-o3-canvas rename examples/benchmark.js => benchmarks/run.js (97%) diff --git a/.gitmodules b/.gitmodules index 5edc2b8ae..27f0a3da4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "support/jade"] path = support/jade url = git://github.com/visionmedia/jade.git +[submodule "benchmarks/node-o3-canvas"] + path = benchmarks/node-o3-canvas + url = https://github.com/ajaxorg/node-o3-canvas.git diff --git a/Makefile b/Makefile index b144a0cf7..3e6876bd9 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,6 @@ test-server: @node test/server.js benchmark: - @node examples/benchmark.js + @node benchmarks/run.js .PHONY: test test-server benchmark \ No newline at end of file diff --git a/benchmarks/node-o3-canvas b/benchmarks/node-o3-canvas new file mode 160000 index 000000000..6fa7b2316 --- /dev/null +++ b/benchmarks/node-o3-canvas @@ -0,0 +1 @@ +Subproject commit 6fa7b2316fb3b9c3165efdceb15dba24342cd343 diff --git a/examples/benchmark.js b/benchmarks/run.js similarity index 97% rename from examples/benchmark.js rename to benchmarks/run.js index 6cb65480c..095042ad2 100644 --- a/examples/benchmark.js +++ b/benchmarks/run.js @@ -5,7 +5,6 @@ var Canvas = require('../lib/canvas') , canvas = new Canvas(200, 200) - , largeCanvas = new Canvas(1000, 1000) , ctx = canvas.getContext('2d'); var times = 10000;