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
+23%
Improvement
6
Untouched
42
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
48 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
test sync baz 10
examples/with-typescript-esm/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
+23%
384 ns
312 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_iterative_fibo_100
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+13%
720 ns
636 ns
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
+13%
420 ns
372 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_cached_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+12%
1.3 µs
1.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr::nested suite
CodSpeed Performance Gauge
+11%
1.9 µs
1.7 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test sync baz 100
examples/with-typescript-esm/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
+11%
492 ns
444 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 1
examples/with-javascript-esm/tinybench.js
CodSpeed Performance Gauge
+4%
300 ns
288 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
test sync baz 10
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
+4%
324 ns
312 ns
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
+3%
1.9 µs
1.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_cached_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+3%
1.2 µs
1.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
+3%
1.6 µs
1.6 µs
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
+3%
456 ns
444 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_cached_fibo_20
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+2%
2.7 µs
2.7 µ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
+2%
1.7 µs
1.7 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_iterative_fibo_100
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+2%
672 ns
660 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
long body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
+2%
214.5 µs
211 µ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
+1%
1.7 µs
1.7 µ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
+1%
3.4 µs
3.3 µ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.3 µs
2.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_cached_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
2.5 µs
2.5 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_fibo_20
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
248.5 µs
248.4 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 2
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
0%
168 ns
168 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 1
packages/tinybench-plugin/benches/sample.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%
276 ns
276 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%
312 ns
312 ns
1
2
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
5 months ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs