CodSpeedHQ
codspeed-node
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Use instrument hooks
#45
Merged
Comparing
cod-1163-add-instrument-hooks-to-codspeed-node
(
a3d2755
) with
main
(
8c86d0a
)
CodSpeed Performance Gauge
-14%
Improvement
1
Regression
1
Untouched
42
No successful run was found on
main
(
a3d2755
) during the generation of this report, so
8c86d0a
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
44 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_iterative_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-14%
216 ns
252 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_iterative_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+11%
240 ns
216 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
test sync baz 100
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
+9%
300 ns
276 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 2
examples/with-javascript-esm/tinybench.js
CodSpeed Performance Gauge
+8%
156 ns
144 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
+6%
24.9 µs
23.4 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite::deeply nested suite
CodSpeed Performance Gauge
+6%
25 µs
23.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
+5%
25.2 µs
23.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr
CodSpeed Performance Gauge
+5%
25.7 µs
24.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
fibo 15
packages/vitest-plugin/benches/flat.bench.ts::fibo
CodSpeed Performance Gauge
+4%
81.6 µs
78.4 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
fibo 10
packages/vitest-plugin/benches/flat.bench.ts::fibo
CodSpeed Performance Gauge
+1%
8.4 µs
8.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+1%
2.2 µs
2.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+1%
2.2 µs
2.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_cached_fibo_30
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
3.1 µs
3.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr
CodSpeed Performance Gauge
0%
24 µs
23.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
long body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr
CodSpeed Performance Gauge
0%
240.4 µs
239.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
0%
239.5 µs
239.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
248.3 µs
248.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
wait 1ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
0%
1 ms
1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
wait 500ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
0%
500 ms
500 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
wait 500ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
0%
500 ms
500 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
wait 1sec
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
0%
1 s
1 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 2
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
0%
144 ns
144 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 1
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
0%
144 ns
144 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 1
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
0%
144 ns
144 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 2
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
0%
144 ns
144 ns
1
2
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