This is an exploration of how benchmarking works in the JS world.
My plan is to try out and compare all the available benchmarking tools, mostly to make sure ZodBus and other event bus / emitter libraries are benchmarked properly.
The engines are configured in ./src/runner.mjs The test files are located in ./src/tests/*
git clone https://github.com/3rd/js-benchmark-tool-comparison
cd js-benchmark-tool-comparison
pnpm install
npm run benchmark
I'll be updating the results of the benchmarks here: ./latest.txt
Environment:
- OS: Linux
- Node: v18.16.0
- CPU: AMD Ryzen 9 3950X (32) @ 3.500GHz