There are multiple ways to integrate CodSpeed with your JS/TS codebase:Documentation Index
Fetch the complete documentation index at: https://codspeed.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
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.