CodSpeedHQ
codspeed-node
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add perf profiling to vitest
#55
Merged
Comparing
cod-1253-support-perf-profiling-with-vitest
(
453da47
) with
main
(
e31ee8b
)
CodSpeed Performance Gauge
-19%
Improvement
1
Regression
1
Untouched
80
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
82 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wait 500ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
-19%
10 ms
12.4 ms
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
+39%
423 µs
305.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wait 1sec
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
-1%
22.8 ms
23 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test sync baz 10
examples/with-typescript-esm/bench/benchmark.js/foobarbaz.bench.ts
CodSpeed Performance Gauge
-1%
12.4 µs
12.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_iterative_fibo_10
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts
CodSpeed Performance Gauge
-1%
12.1 µs
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test sync baz 100
examples/with-typescript-esm/bench/benchmark.js/foobarbaz.bench.ts
CodSpeed Performance Gauge
-1%
13.2 µs
13.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
two
packages/vitest-plugin/benches/hooks.bench.ts::hooks::run
CodSpeed Performance Gauge
-1%
202.1 µs
203.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
one
packages/vitest-plugin/benches/hooks.bench.ts::hooks::run
CodSpeed Performance Gauge
+1%
241.1 µs
239.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recursive_fibo_10
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts
CodSpeed Performance Gauge
0%
28.3 µs
28.4 µ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
0%
138.8 µs
139.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 1
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
0%
124.8 µs
125.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
0%
45.7 µs
45.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
switch 2
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
0%
27.9 µs
27.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr::nested suite
CodSpeed Performance Gauge
0%
89 µs
88.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
String#indexOf
examples/with-javascript-esm/benchmark-js.js
CodSpeed Performance Gauge
0%
11 µs
10.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
String#indexOf
examples/with-typescript-simple-esm/benchmark-js.ts
CodSpeed Performance Gauge
0%
11 µs
11 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
String#indexOf
packages/benchmark.js-plugin/benches/sample.ts
CodSpeed Performance Gauge
0%
11 µs
11 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_iterative_fibo_10
examples/with-typescript-cjs/bench/benchmark.js/fibo.bench.ts
CodSpeed Performance Gauge
0%
12.1 µs
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test sync baz 10
examples/with-typescript-cjs/bench/benchmark.js/foobarbaz.bench.ts
CodSpeed Performance Gauge
0%
12.3 µs
12.4 µ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
0%
48.4 µs
48.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite::deeply nested suite
CodSpeed Performance Gauge
0%
89.4 µs
89.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
short body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
0%
133.2 µs
132.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test sync baz 100
examples/with-typescript-cjs/bench/benchmark.js/foobarbaz.bench.ts
CodSpeed Performance Gauge
0%
13.8 µs
13.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr
CodSpeed Performance Gauge
0%
89.2 µs
89 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wait 1ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
0%
31.3 µs
31.2 µs
1
2
3
4
Commits
Click on a commit to change the comparison range
Base
main
e31ee8b
+23.08%
feat(vitest-plugin): add perf profiling for vitest plugin
453da47
10 months ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs