Benchmarking experiments
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.
What are we testing?
The engines are configured in ./src/runner.mjs The test files are located in ./src/tests/*
Trying it out on your own machine (Linux)
git clone https://github.com/3rd/js-benchmark-tool-comparison
cd js-benchmark-tool-comparison
pnpm install
npm run benchmark
Latest results
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