- Install dependencies:
npm i
- Install python and gnuplot (e.g.
brew install gnuplot
) if you want to see charts - Prepare json data files and template (you can request large production bemjson files from @miripiruni)
- Run test
node runner.js --rev1 d53646f2c340b5496fbd75a5313e3284b58e238d --rev2 d53646f2c340b5496fbd75a5313e3284b58e238d --bemjson 1000 --dataPath ~/web-data/data --templatePath ~/web-data/templates.js
--dataPath
and --templatePath
should point to your data files and template
The results of test would be directory dat-d5364-and-d5364
with svg histogram and STDOUT with some numbers.
Or you can run old test:
- Make sure the
bench/package.json
has proper git hash ofbem-xjst
before running! - Run
node run.js --compile --compare --min-samples 1000
Benchmark help:
node run.js --help