CodSpeedHQ
codspeed-node
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add perf profiling to tinybench
#51
Merged
Comparing
cod-1221-support-perf-profiling-with-codspeed-node
(
e31ee8b
) with
main
(
81f0dc9
)
CodSpeed Performance Gauge
-85%
Improvement
7
Regression
11
Untouched
64
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
82 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_iterative_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-85%
29.1 µs
190.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test sync baz 10
examples/with-typescript-esm/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
-80%
39.4 µs
200 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_cached_fibo_30
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-79%
47.2 µs
227.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 1
examples/with-javascript-esm/tinybench.js
CodSpeed Performance Gauge
-76%
30 µs
123.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 1
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
-75%
30.7 µs
125.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 1
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
-75%
30.7 µs
123.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 1
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
-67%
30.9 µs
93.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-67%
46 µs
139 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-67%
46 µs
138.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_fibo_20
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts
CodSpeed Performance Gauge
-16%
1.5 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
short body
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
-15%
102.5 µs
121.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_iterative_fibo_100
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
×5.7
194.6 µs
34 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test sync baz 10
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
×4.9
201.3 µs
40.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_cached_fibo_30
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
×4.2
205.7 µs
48.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 2
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
×3.2
25.5 µs
8.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_iterative_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+50%
450.4 µs
299.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_iterative_fibo_100
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+32%
282.3 µs
214.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wait 1ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
+25%
24.7 µs
19.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 2
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
-8%
25.6 µs
27.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 2
examples/with-javascript-esm/tinybench.js
CodSpeed Performance Gauge
-7%
25.2 µs
27.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 2
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
-7%
25.7 µs
27.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test sync baz 100
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
-6%
31 µs
32.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
long body
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
-5%
362 µs
382.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_cached_fibo_20
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-5%
43.5 µs
45.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_cached_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-5%
46 µs
48.5 µs
1
2
3
4
Commits
Click on a commit to change the comparison range
Base
main
81f0dc9
-50%
refactor(tinybench): share structure across walltime and instrumented
e31ee8b
10 months ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs