Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-node
BlogDocsChangelog

fix(vitest-plugin): migrate deprecated vitest 4.1 imports

#75
Comparing
feat/bump-vitest-4.1
(
d104278
) with
feat/vite-8-support
(
1a48730
)
CodSpeed Performance Gauge
-61%
Improvement
9
Regression
3
Untouched
156

Benchmarks

168 total
test_recursive_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
-61%
139.5 µs361.5 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr::nested suite
CodSpeed Performance Gauge
-15%
1.7 µs2 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
-12%
1.7 µs1.9 µs
recursive fibo 15
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
×3,500
65,624 B19 B
one
packages/vitest-plugin/benches/hooks.bench.ts::hooks::run
CodSpeed Performance Gauge
×9.2
14.3 KB1.6 KB
wait 500ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
×4.3
64.1 KB15 KB
fibo 15
packages/vitest-plugin/benches/flat.bench.ts::fibo
CodSpeed Performance Gauge
+94%
284.2 µs146.7 µs
one
packages/vitest-plugin/benches/hooks.bench.ts::hooks::run
CodSpeed Performance Gauge
+69%
407.6 µs240.5 µs
wait 500ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
+21%
12 ms9.9 ms
short body
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
+20%
1.9 µs1.5 µs
switch 2
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
+16%
348 ns300 ns
fibo 30
examples/with-typescript-esm/src/fibonacci.bench.ts::recursiveFibonacci
CodSpeed Performance Gauge
+14%
34.1 ms29.9 ms
iterative fibo 20
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
+7%
348 ns324 ns
wait 1sec
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
+5%
22.5 ms21.3 ms
wait 1ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
+5%
32.6 µs31.1 µs
switch 1
examples/with-typescript-simple-cjs/tinybench.ts
CodSpeed Performance Gauge
+5%
276 ns264 ns
switch 1
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
+4%
288 ns276 ns
switch 2
examples/with-javascript-esm/tinybench.js
CodSpeed Performance Gauge
+4%
300 ns288 ns
switch 2
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
+4%
312 ns300 ns
test_recursive_cached_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+2%
2.6 µs2.5 µs
short body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
+1%
1.7 µs1.6 µs
test_recursive_cached_fibo_30
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+1%
3.4 µs3.3 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
+1%
217.3 µs214.5 µs
iterative fibo 15
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
+1%
16.4 µs16.3 µs
String#indexOf
examples/with-typescript-simple-cjs/benchmark-js.ts
CodSpeed Performance Gauge
+1%
11.1 µs11 µs

Commits

Click on a commit to change the comparison range
Base
feat/vite-8-support
1a48730
-61.43%
fix(vitest-plugin): migrate deprecated vitest/runners and vitest/suite imports
d104278
4 days ago
by adriencaccia
© 2026 CodSpeed Technology
Home Terms Privacy Docs