Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-node
BlogDocsChangelog

Add perf profiling to vitest

#55Merged
Comparing
cod-1253-support-perf-profiling-with-vitest
(
453da47
) with
main
(
e31ee8b
)
CodSpeed Performance Gauge
-19%
Improvement
1
Regression
1
Untouched
80

Benchmarks

82 total
wait 500ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
-19%
10 ms12.4 ms
test_iterative_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+39%
423 µs305.4 µs
one
packages/vitest-plugin/benches/hooks.bench.ts::hooks::run
CodSpeed Performance Gauge
+1%
241.1 µs239.9 µs
switch 2
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
0%
27.9 µs27.8 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr::nested suite
CodSpeed Performance Gauge
0%
89 µs88.8 µs
String#indexOf
examples/with-javascript-esm/benchmark-js.js
CodSpeed Performance Gauge
0%
11 µs10.9 µs
String#indexOf
examples/with-typescript-simple-esm/benchmark-js.ts
CodSpeed Performance Gauge
0%
11 µs11 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite::deeply nested suite
CodSpeed Performance Gauge
0%
89.4 µs89.2 µs
short body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
0%
133.2 µs132.9 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr
CodSpeed Performance Gauge
0%
89.2 µs89 µs
wait 1ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
0%
31.3 µs31.2 µs
RegExp#test
examples/with-typescript-simple-esm/benchmark-js.ts
CodSpeed Performance Gauge
0%
18.8 µs18.7 µs
wait 500ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
0%
12.5 ms12.5 ms
RegExp#test
examples/with-javascript-esm/benchmark-js.js
CodSpeed Performance Gauge
0%
20.3 µs20.3 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
0%
89.8 µs89.7 µs
test_recursive_cached_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
48.3 µs48.2 µs
test sync baz 100
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
0%
33 µs32.9 µs
test sync baz 10
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
0%
40.9 µs40.9 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr
CodSpeed Performance Gauge
0%
133 µs132.9 µs
test_recursive_cached_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
45.2 µs45.2 µs
test_recursive_cached_fibo_30
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
48.9 µs48.9 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr
CodSpeed Performance Gauge
0%
353.4 µs353.2 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
0%
356.7 µs356.5 µs
test_recursive_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
138.5 µs138.4 µs
switch 1
examples/with-javascript-esm/tinybench.js
CodSpeed Performance Gauge
0%
123.7 µs123.6 µs

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