diff options
author | Ryan <ry@tinyclouds.org> | 2009-07-13 14:48:59 +0400 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-07-13 18:38:55 +0400 |
commit | 05d6319fa034b8ef4d26445c59e3049bde3c41fb (patch) | |
tree | 6dc6f7445c40aea48af8e0b4575fc1d74e12ea13 /configure | |
parent | bf6a457f64d44fbd3cdd273559cad5dafd16676e (diff) |
Add benchmark scripts.
To use the benchmarks:
node benchmarks/run.js
or:
make benchmark
The numbers reported are the elapsed milliseconds the script took to
complete. Currently only benching HTTP code and timers.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure index a5865ab28ff..701c1e19de0 100755 --- a/configure +++ b/configure @@ -100,6 +100,12 @@ test: all test-all: all python tools/test.py --mode=debug,release +test-debug: all + python tools/test.py --mode=release,debug + +benchmark: all + build/default/node benchmark/run.js + website: website/api.html website/index.html website/api.html: website/api.txt @@ -123,7 +129,7 @@ check: dist: @$WAF dist -.PHONY: clean dist distclean check uninstall install all test test-all website website-upload +.PHONY: benchmark clean dist distclean check uninstall install all test test-all website website-upload EOF } |