docs/Guides/Benchmarking.md
Benchmarking is important if you want to measure how a change can affect your application's performance. We provide a simple way to benchmark your application from the point of view of a user and contributor. The setup allows you to automate benchmarks in different branches and on different Node.js versions.
The modules we will use:
npm run benchmark
npx -p node@10 -- npm run benchmark
branchcmp --rounds 2 --script "npm run benchmark"
branchcmp --rounds 2 --script "npm run benchmark"
branchcmp --rounds 2 --gitflow --script "npm run benchmark"
or
npm run bench
branchcmp --rounds 2 -s "node ./node_modules/concurrently -k -s first \"node ./examples/asyncawait.js\" \"node ./node_modules/autocannon -c 100 -d 5 -p 10 localhost:3000/\""