Node.js
There are multiple ways to integrate CodSpeed with your JS/TS codebase.
vitest
plugin (recommended)tinybench
pluginbenchmark.js
plugin
tip
We recommend using the vitest
plugin as it is the easiest to use and has the
most features. However, 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.
📄️ Vitest (recommended)
Integrate with the Vitest benchmarking feature
📄️ tinybench
Integrate with the tinybench benchmarking library
📄️ Benchmark.js
Integrate with the Benchmark.js benchmarking library