Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-node
BlogDocsChangelog

Add walltime support for vitest plugin

#49Merged
Comparing
cod-241-vitest-nodejs-support-for-the-walltime-executor
(
c9d2169
) with
main
(
bfb95e2
)
CodSpeed Performance Gauge
-14%
Regression
1
Untouched
26
New
17

Benchmarks

44 total
switch 2
examples/with-typescript-simple-esm/tinybench.ts
CodSpeed Performance Gauge
-14%
144 ns168 ns
short body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
N/A
N/A24.9 µs
long body
packages/vitest-plugin/benches/flat.bench.ts::parsePr
CodSpeed Performance Gauge
N/A
N/A235.7 µs
fibo 15
packages/vitest-plugin/benches/flat.bench.ts::fibo
CodSpeed Performance Gauge
N/A
N/A78.3 µs
fibo 10
packages/vitest-plugin/benches/flat.bench.ts::fibo
CodSpeed Performance Gauge
N/A
N/A8.1 µs
fibo 30
examples/with-typescript-esm/src/fibonacci.bench.ts::recursiveFibonacci
CodSpeed Performance Gauge
N/A
N/A109.5 ms
wait 1sec
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
N/A
N/A1 s
wait 500ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
N/A
N/A500 ms
wait 1ms
packages/vitest-plugin/benches/timing.bench.ts::timing tests
CodSpeed Performance Gauge
N/A
N/A1 ms
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
N/A
N/A239.7 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite
CodSpeed Performance Gauge
N/A
N/A23.5 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr
CodSpeed Performance Gauge
N/A
N/A240.8 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr
CodSpeed Performance Gauge
N/A
N/A240 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite::deeply nested suite
CodSpeed Performance Gauge
N/A
N/A23.5 µs
end
packages/vitest-plugin/benches/hooks.bench.ts::hooks
CodSpeed Performance Gauge
N/A
N/A57.3 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr
CodSpeed Performance Gauge
N/A
N/A23.8 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr::nested suite
CodSpeed Performance Gauge
N/A
N/A25.2 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr
CodSpeed Performance Gauge
N/A
N/A23.8 µs
test sync baz 10
examples/with-typescript-esm/bench/tinybench/foobarbaz.bench.ts
CodSpeed Performance Gauge
+8%
168 ns156 ns
test_recursive_cached_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+3%
984 ns960 ns
test_recursive_cached_fibo_30
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+2%
3.1 µs3 µs
test_recursive_cached_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+2%
2.4 µs2.4 µs
test_recursive_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
+1%
2.1 µs2.1 µs
test_recursive_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts
CodSpeed Performance Gauge
0%
248.3 µs248.1 µs
wait 1ms
packages/tinybench-plugin/benches/timing.ts::timing
CodSpeed Performance Gauge
0%
1 ms1 ms

Commits

Click on a commit to change the comparison range
Base
cod-1066-tinybench-nodejs-support-for-the-walltime-executor
bfb95e2
-14.29%
chore(with-typescript-esm): switch vitest bench to recursiveFibo
c9d2169
7 months ago
by adriencaccia
© 2026 CodSpeed Technology
Home Terms Privacy Docs