feat(vitest): support vitest v4 #71
Merged
CodSpeed HQ / CodSpeed Performance Analysis
failed
Feb 3, 2026
Performance Regression: -58.7%
Summary
⚡ 1 improved benchmark
❌ 6 regressed benchmarks
✅ 123 untouched benchmarks
🆕 8 new benchmarks
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| 🆕 | Simulation | recursive fibo 20 |
N/A | 1.4 ms | N/A |
| 🆕 | Simulation | recursive fibo 15 |
N/A | 290.6 µs | N/A |
| 🆕 | Simulation | iterative fibo 20 |
N/A | 16.8 µs | N/A |
| 🆕 | Simulation | iterative fibo 15 |
N/A | 16.4 µs | N/A |
| ❌ | Simulation | one |
239.8 µs | 580.8 µs | -58.7% |
| ⚡ | Simulation | wait 500ms |
12.1 ms | 10 ms | +21.19% |
| ❌ | Simulation | fibo 15 |
146.6 µs | 284 µs | -48.36% |
| 🆕 | WallTime | iterative fibo 20 |
N/A | 372 ns | N/A |
| 🆕 | WallTime | recursive fibo 15 |
N/A | 21.7 µs | N/A |
| 🆕 | WallTime | iterative fibo 15 |
N/A | 324 ns | N/A |
| 🆕 | WallTime | recursive fibo 20 |
N/A | 239 µs | N/A |
| ❌ | WallTime | test sync baz 10 |
312 ns | 372 ns | -16.13% |
| ❌ | WallTime | test sync baz 100 |
432 ns | 480 ns | -10% |
| ❌ | WallTime | short body |
1.8 µs | 2.1 µs | -15.17% |
| ❌ | WallTime | short body |
1.8 µs | 2.1 µs | -15.03% |
Loading