Commit Graph

6 Commits (40b1c9a66d2d32673dec4ac5ec03f927dd33b32b)

Author SHA1 Message Date
isaacs e7b8bad3d9 bench: Do math on numbers in compare.js, not strings 2013-03-07 11:56:53 -08:00
isaacs db5d58e842 bench: Use environ to run compares more than once
This will run the benchmarks the number of times specified by NODE_BENCH_RUNS,
to attempt to reduce variability.

If the number of runs is high enough, it'll also throw out the top and bottom
quartiles, since that's where the outliers will be.

It's not very fancy statistics-fu, but it's better than nothing.

Also, linted this file.  It had tabs in it.  TABS!
2013-03-06 12:33:05 -08:00
isaacs 053e02ef8e benchmark: Fix alignment issues on --html compare output 2013-02-20 09:17:29 -08:00
isaacs 035aa6b4ce bench: Show % change rather than % difference 2013-02-19 14:14:39 -08:00
isaacs 087c437961 bench: Add --html to compare script 2013-02-19 14:14:38 -08:00
isaacs aa2edd4b89 bench: A compare script for analyzing benchmarks 2013-02-19 14:14:30 -08:00