BlogDocs

feat/vitest plugin(#28)

Merged
Merging
feat/vitest-plugin
(
2cf5b80
) into
main
(
388d3b2
)
-25%
IMPROVEMENTS
4
REGRESSIONS
2
UNTOUCHED
50
NEW
21
DROPPED
8
IGNORED
0

Benchmarks

Improved

test_recursive_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts::test_recursive_fibo_10
×3
467.1 µs
156.8 µs
test_recursive_fibo_20
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts::test_recursive_fibo_20
×2.1
3.1 ms
1.5 ms
test_recursive_fibo_20
examples/with-typescript-cjs/bench/benchmark.js/fibo.bench.ts::test_recursive_fibo_20
+26%
3.1 ms
2.5 ms
test_iterative_fibo_100
examples/with-typescript-cjs/bench/benchmark.js/fibo.bench.ts::test_iterative_fibo_100
+17%
22.8 µs
19.4 µs

New

fibo 10
examples/with-typescript-esm/src/fibonacci.bench.ts::iterativeFibonacci::fibo 10
N/A
N/A
41.2 µs
long body
packages/benchmark.js-plugin/benches/sample.ts::long body
N/A
N/A
1.6 ms
short body
packages/benchmark.js-plugin/benches/sample.ts::short body
N/A
N/A
501.3 µs
short body 2
packages/benchmark.js-plugin/benches/sample.ts::short body 2
N/A
N/A
482.7 µs
short body 3
packages/benchmark.js-plugin/benches/sample.ts::short body 3
N/A
N/A
469.7 µs
short body 4
packages/benchmark.js-plugin/benches/sample.ts::short body 4
N/A
N/A
497.7 µs
short body 5
packages/benchmark.js-plugin/benches/sample.ts::short body 5
N/A
N/A
469.6 µs
long body
packages/tinybench-plugin/benches/sample.ts::long body
N/A
N/A
1.5 ms
short body
packages/tinybench-plugin/benches/sample.ts::short body
N/A
N/A
387.6 µs
fibo 10
packages/vitest-plugin/benches/flat.bench.ts::fibo::fibo 10
N/A
N/A
161.5 µs
fibo 15
packages/vitest-plugin/benches/flat.bench.ts::fibo::fibo 15
N/A
N/A
1.6 ms
long body
packages/vitest-plugin/benches/flat.bench.ts::parsePr::long body
N/A
N/A
1.4 ms
short body
packages/vitest-plugin/benches/flat.bench.ts::parsePr::short body
N/A
N/A
502.9 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr::long body
N/A
N/A
1.4 ms
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr::nested suite::short body
N/A
N/A
231 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::another parsePr::short body
N/A
N/A
231 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::long body
N/A
N/A
1.4 ms
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite::deeply nested suite::short body
N/A
N/A
502.7 µs
long body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite::long body
N/A
N/A
1.4 ms
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::nested suite::short body
N/A
N/A
273.9 µs
short body
packages/vitest-plugin/benches/parsePr.bench.ts::parsePr::short body
N/A
N/A
230.8 µs

Passed

test sync baz 100
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts::test sync baz 100
+1%
18.7 µs
18.5 µs
test_recursive_cached_fibo_30
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts::test_recursive_cached_fibo_30
+1%
47.5 µs
47.1 µs
test sync baz 10
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts::test sync baz 10
+1%
25 µs
24.8 µs
test_recursive_cached_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts::test_recursive_cached_fibo_10
+1%
31 µs
30.8 µs
test_recursive_cached_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts::test_recursive_cached_fibo_20
0%
38.3 µs
38.1 µs
switch 2
examples/with-javascript-cjs/tinybench.js::switch 2
0%
12.2 µs
12.1 µs
test_iterative_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts::test_iterative_fibo_10
0%
25.1 µs
25 µs
test sync baz 10
examples/with-typescript-esm/bench/benchmark.js/foobarbaz.bench.ts::test sync baz 10
0%
19.5 µs
19.5 µs
test_recursive_cached_fibo_30
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts::test_recursive_cached_fibo_30
0%
52.4 µs
52.3 µs
test sync baz 100
examples/with-typescript-esm/bench/tinybench/foobarbaz.bench.ts::test sync baz 100
0%
23 µs
23 µs
test_iterative_fibo_100
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts::test_iterative_fibo_100
0%
24.8 µs
24.8 µs
test sync baz 10
examples/with-typescript-cjs/bench/benchmark.js/foobarbaz.bench.ts::test sync baz 10
0%
19.4 µs
19.4 µs
switch 2
packages/tinybench-plugin/benches/sample.ts::switch 2
0%
12 µs
12 µs
test_recursive_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts::test_recursive_fibo_10
0%
40.2 µs
40.1 µs
switch 1
examples/with-javascript-esm/tinybench.js::switch 1
0%
143 µs
142.9 µs
test sync baz 10
examples/with-typescript-esm/bench/tinybench/foobarbaz.bench.ts::test sync baz 10
0%
25.1 µs
25.1 µs
switch 1
examples/with-typescript-simple-esm/tinybench.ts::switch 1
0%
142.9 µs
142.9 µs
test_recursive_fibo_20
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts::test_recursive_fibo_20
0%
3.1 ms
3.1 ms
test_recursive_fibo_10
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts::test_recursive_fibo_10
0%
34.7 µs
34.7 µs
test_recursive_cached_fibo_10
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts::test_recursive_cached_fibo_10
0%
25.5 µs
25.5 µs
switch 2
examples/with-typescript-simple-cjs/tinybench.ts::switch 2
0%
12.2 µs
12.2 µs
test_recursive_cached_fibo_20
examples/with-typescript-cjs/bench/benchmark.js/fibo.bench.ts::test_recursive_cached_fibo_20
0%
32.8 µs
32.8 µs
switch 1
examples/with-javascript-cjs/tinybench.js::switch 1
0%
11.7 µs
11.7 µs
switch 1
examples/with-typescript-simple-cjs/tinybench.ts::switch 1
0%
11.7 µs
11.7 µs
test_recursive_cached_fibo_30
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts::test_recursive_cached_fibo_30
0%
52.4 µs
52.5 µs
test_recursive_cached_fibo_20
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts::test_recursive_cached_fibo_20
0%
38.4 µs
38.4 µs
test_recursive_cached_fibo_20
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts::test_recursive_cached_fibo_20
0%
32.8 µs
32.9 µs
test sync baz 100
examples/with-typescript-esm/bench/benchmark.js/foobarbaz.bench.ts::test sync baz 100
0%
17.3 µs
17.4 µs
test_iterative_fibo_10
examples/with-typescript-cjs/bench/tinybench/fibo.bench.ts::test_iterative_fibo_10
0%
24.9 µs
25 µs
test_iterative_fibo_100
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts::test_iterative_fibo_100
0%
24.9 µs
25 µs
switch 2
examples/with-javascript-esm/tinybench.js::switch 2
0%
12 µs
12.1 µs
switch 2
examples/with-typescript-simple-esm/tinybench.ts::switch 2
0%
12 µs
12.1 µs
test_recursive_cached_fibo_10
examples/with-typescript-esm/bench/tinybench/fibo.bench.ts::test_recursive_cached_fibo_10
0%
31 µs
31.1 µs
test_recursive_fibo_10
examples/with-typescript-cjs/bench/benchmark.js/fibo.bench.ts::test_recursive_fibo_10
0%
34.6 µs
34.8 µs
test_iterative_fibo_10
examples/with-typescript-cjs/bench/benchmark.js/fibo.bench.ts::test_iterative_fibo_10
0%
19.5 µs
19.6 µs
test_recursive_cached_fibo_10
examples/with-typescript-cjs/bench/benchmark.js/fibo.bench.ts::test_recursive_cached_fibo_10
0%
25.5 µs
25.6 µs
test_iterative_fibo_100
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts::test_iterative_fibo_100
-1%
19.3 µs
19.4 µs
String#indexOf
examples/with-javascript-esm/benchmark-js.js::String#indexOf
-1%
10.2 µs
10.2 µs
RegExp#test
examples/with-typescript-simple-esm/benchmark-js.ts::RegExp#test
-1%
14 µs
14.1 µs
String#indexOf
examples/with-typescript-simple-cjs/benchmark-js.ts::String#indexOf
-1%
10.2 µs
10.3 µs
test_iterative_fibo_10
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts::test_iterative_fibo_10
-1%
19.4 µs
19.7 µs
RegExp#test
examples/with-javascript-esm/benchmark-js.js::RegExp#test
-1%
14 µs
14.2 µs
switch 1
packages/tinybench-plugin/benches/sample.ts::switch 1
-1%
11.6 µs
11.7 µs
RegExp#test
examples/with-javascript-cjs/benchmark-js.js::RegExp#test
-1%
14 µs
14.1 µs
String#indexOf
packages/benchmark.js-plugin/benches/sample.ts::String#indexOf
-1%
10.3 µs
10.4 µs
test_recursive_cached_fibo_30
examples/with-typescript-cjs/bench/benchmark.js/fibo.bench.ts::test_recursive_cached_fibo_30
-1%
46.9 µs
47.5 µs
String#indexOf
examples/with-javascript-cjs/benchmark-js.js::String#indexOf
-1%
10.2 µs
10.3 µs
test async baz 10Missing
examples/with-typescript-cjs/bench/benchmark.js/foobarbaz.bench.ts::test async baz 10
N/A
105.8 µs
N/A
test async baz 100Missing
examples/with-typescript-cjs/bench/benchmark.js/foobarbaz.bench.ts::test async baz 100
N/A
86.4 µs
N/A
String#indexOf
examples/with-typescript-simple-esm/benchmark-js.ts::String#indexOf
-1%
10.2 µs
10.4 µs
test sync baz 100Regression
examples/with-typescript-cjs/bench/benchmark.js/foobarbaz.bench.ts::test sync baz 100
-25%
13 µs
17.4 µs
test async baz 10Missing
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts::test async baz 10
N/A
1.6 ms
N/A
test async baz 100Missing
examples/with-typescript-cjs/bench/tinybench/foobarbaz.bench.ts::test async baz 100
N/A
1.7 ms
N/A
test_recursive_fibo_20Regression
examples/with-typescript-esm/bench/benchmark.js/fibo.bench.ts::test_recursive_fibo_20
-21%
2.5 ms
3.1 ms
test async baz 10Missing
examples/with-typescript-esm/bench/benchmark.js/foobarbaz.bench.ts::test async baz 10
N/A
105.5 µs
N/A
test async baz 100Missing
examples/with-typescript-esm/bench/benchmark.js/foobarbaz.bench.ts::test async baz 100
N/A
135.8 µs
N/A
test async baz 10Missing
examples/with-typescript-esm/bench/tinybench/foobarbaz.bench.ts::test async baz 10
N/A
487.7 µs
N/A
test async baz 100Missing
examples/with-typescript-esm/bench/tinybench/foobarbaz.bench.ts::test async baz 100
N/A
1.3 ms
N/A
RegExp#test
packages/benchmark.js-plugin/benches/sample.ts::RegExp#test
-2%
14 µs
14.2 µs
RegExp#test
examples/with-typescript-simple-cjs/benchmark-js.ts::RegExp#test
-2%
14 µs
14.2 µs

Commits

Click on a commit to change the comparison range
base
main
388d3b2
-50%
feat: log process pid only when CODSPEED_DEBUG is set
008953e
10 months ago
by adriencaccia
+25%
chore: remove irrelevant async benches
2cf5b80
10 months ago
by adriencaccia
ResourcesHomePricingDocsBlogGitHubChangelog