diff --git a/.gitmodules b/.gitmodules index 5edc2b8..27f0a3d 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 b144a0c..3e6876b 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 0000000..6fa7b23 --- /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 6cb6548..095042a 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;