benchtap
Simple, accurate benchmarking in a browser with tap output and an interface based on tape.
usage
code
var benchtap = ; var name = "square";var { thisa = Math };var { thisa * thisa };var ops = 1; // number of operations performed in `test` ;
command line
put all your benchmarks in a benchmark
folder, then run:
browserify benchmark/*.js | testling -x $npm_config_browser
setup
you may also need to set the default npm browser
osx
npm config set browser open
linux
npm config set browser xdg-open
windows
npm config set browser start