CodSpeedHQ
codspeed-node
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat(vitest): support vitest v4
#71
Merged
Comparing
colinaaa:colin/0131/vitest-v4
(
485c0ca
) with
main
(
635c77c
)
CodSpeed Performance Gauge
-48%
Improvement
1
Regression
2
Untouched
127
New
8
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
New
Acknowledged
Untouched
138 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 2
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
+13%
324 ns
288 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
recursive fibo 15
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
N/A
N/A
21.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
iterative fibo 15
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
N/A
N/A
312 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iterative fibo 20
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
N/A
N/A
348 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
recursive fibo 20
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
N/A
N/A
238.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
iterative fibo 20
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
N/A
N/A
17.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive fibo 15
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
N/A
N/A
290.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive fibo 20
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
N/A
N/A
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
iterative fibo 15
examples/with-vitest-v3/src/fibonacci.bench.ts::fibonacci
CodSpeed Performance Gauge
N/A
N/A
16.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
one
packages/vitest-plugin/benches/hooks.bench.ts::hooks::run
CodSpeed Performance Gauge
-40%
239.8 µs
402.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fibo 15
packages/vitest-plugin/benches/flat.bench.ts::fibo
CodSpeed Performance Gauge
-48%
146.6 µs
283.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 1
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
+9%
144 ns
132 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
switch 1
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
+9%
288 ns
264 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
+6%
2.6 µs
2.5 µ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
+6%
1.8 µs
1.7 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/tinybench-plugin/benches/sample.ts
CodSpeed Performance Gauge
+5%
1.7 µs
1.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_recursive_cached_fibo_30
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+5%
3.4 µs
3.2 µ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
+4%
1.8 µs
1.7 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
+4%
1.8 µs
1.7 µs
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
+4%
1.8 µs
1.7 µs
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
+3%
384 ns
372 ns
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
+3%
444 ns
432 ns
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
+2%
305.6 µs
299.3 µ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
+2%
141.4 µs
138.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
long body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
+1%
217.3 µs
214.4 µs
1
2
...
6
Commits
Click on a commit to change the comparison range
Base
main
635c77c
-48.35%
chore: bump vitest to v4 in examples and add explicit vitest v3 example for backward compatibility
485c0ca
3 days ago
by adriencaccia
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs