vitest (recommended)
The most convenient way to run your Node.js benchmarks
tinybench
A lightweight benchmarking library with a simple API
benchmark.js
The legacy benchmarking library for JavaScript
vitest plugin as it is the easiest to use and has the
most features.
If you are already using benchmark.js or tinybench, check out their
respective plugins as they require only a small wrapping to work with CodSpeed.
To benchmark a user flow end-to-end, use the Playwright integration:
Playwright
Drive an app through Playwright and measure real flows.
Supported Node.js versions
Each Node.js version is supported by a range of@codspeed/* packages versions,
which are all released under the same version number: