Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-node
BlogDocsChangelog

Use instrument hooks

#45Merged
Comparing
cod-1163-add-instrument-hooks-to-codspeed-node
(
a3d2755
) with
main
(
8c86d0a
)
CodSpeed Performance Gauge
-14%
Improvement
1
Regression
1
Untouched
42

Benchmarks

44 total
test_iterative_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-14%
216 ns252 ns
test_iterative_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+11%
240 ns216 ns
test sync baz 100
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
+9%
300 ns276 ns
switch 2
examples/with-javascript-esm/tinybench.js
CodSpeed Performance Gauge
+8%
156 ns144 ns
short body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
+6%
24.9 µs23.4 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite::deeply nested suite
CodSpeed Performance Gauge
+6%
25 µs23.6 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
+5%
25.2 µs23.9 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr
CodSpeed Performance Gauge
+5%
25.7 µs24.3 µs
fibo 15
packages/vitest-plugin/benches/flat.bench.ts::fibo
CodSpeed Performance Gauge
+4%
81.6 µs78.4 µs
fibo 10
packages/vitest-plugin/benches/flat.bench.ts::fibo
CodSpeed Performance Gauge
+1%
8.4 µs8.3 µs
test_recursive_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+1%
2.2 µs2.1 µs
test_recursive_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+1%
2.2 µs2.1 µs
test_recursive_cached_fibo_30
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
3.1 µs3.1 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr
CodSpeed Performance Gauge
0%
24 µs23.9 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr
CodSpeed Performance Gauge
0%
240.4 µs239.8 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
0%
239.5 µs239.2 µs
test_recursive_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
248.3 µs248.1 µs
wait 1ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
0%
1 ms1 ms
wait 500ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
0%
500 ms500 ms
wait 500ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
0%
500 ms500 ms
wait 1sec
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
0%
1 s1 s
switch 2
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
0%
144 ns144 ns
switch 1
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
0%
144 ns144 ns
switch 1
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
0%
144 ns144 ns
switch 2
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
0%
144 ns144 ns

Commits

Click on a commit to change the comparison range
Base
main
8c86d0a
+11.11%
feat: use instrument-hooks for all instrumented integrations
cb3de54
6 months ago
by GuillaumeLagrange
-25.4%
chore: bump version to 5.0.0
a3d2755
6 months ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home Terms Privacy Docs