benchmarking icon indicating copy to clipboard operation
benchmarking copied to clipboard

Running a benchmark

Open spmiller opened this issue 5 years ago • 1 comments

Hello,

We stumbled across this project when looking to compare how a NodeJS application would perform when running on different hardware. The Acme Air benchmark referenced in the use cases looks similar to our application, so running this benchmark looks like a good proxy for how well our app would perform.

We can't work out how to run the benchmark on a machine. We were expecting to find a "run benchmark X" script that would run and output some stats somewhere, but perhaps this is defined in your build config somewhere outside of this repository.

How can we run a particular benchmark to get the numbers out of it?

spmiller avatar Jul 29 '20 02:07 spmiller

The naming is not great but the scripts are in:

https://github.com/nodejs/benchmarking/tree/master/experimental

so for example the script to run acmeair is:

https://github.com/nodejs/benchmarking/blob/master/experimental/benchmarks/acmeair/run_acmeair.sh

mhdawson avatar Sep 22 '20 14:09 mhdawson