- To run all available benchmarks (can take 10 min to complete):
$ npm run bench
- To run individual benchmarks / per method:
$ npm run bench sieveInt
$ npm run bench sieveIntBoost
$ npm run bench sieveIntStart
$ npm run bench isPrime
$ npm run bench countPrimes
- To run several specific benchmarks, list them via space:
$ npm run bench sieveInt sieveIntStart
Most recent benchmark run: