CodSpeedHQ
codspeed-go
BlogDocsChangelog

fix: allow running benchmarks with runparallel

#39Merged
Comparing
cod-1700-codspeed-go-dont-run-benchmarks-with-runparallel-rather-than
(
140fee0
) with
main
(
c5f02fb
)
CodSpeed Performance Gauge
-40%
Improvements
1
Regressions
3
Untouched
36
New
2

Benchmarks

Failed

BenchmarkLargeSetupInLoop
example/setup_test.go
Regression
CodSpeed Performance Gauge
-40%
156.2 µs262 µs
bench_collect_results[10000000, 25]
go-runner/benches/go_runner.rs
Regression
CodSpeed Performance Gauge
-10%
5 s5.5 s
bench_go_runner
go-runner/benches/go_runner.rs
Regression
CodSpeed Performance Gauge
-13%
21.5 s24.6 s

Improved

bench_collect_results[5000000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+13%
2.9 s2.5 s

New

BenchmarkFibonacci10Parallel
example/fib_test.go
CodSpeed Performance Gauge
N/A
N/A41 ns
BenchmarkFibonacci20Parallel
example/fib_test.go
CodSpeed Performance Gauge
N/A
N/A5.4 µs

Passed

bench_collect_results[1000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+5%
252.8 ms241.5 ms
bench_collect_results[10000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+4%
2.1 s2 s
BenchmarkLargeSetup
example/setup_test.go
CodSpeed Performance Gauge
+3%
10.1 ms9.8 ms
bench_collect_results[5000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+3%
1.3 s1.3 s
BenchmarkQuicktest
example/compat/quicktest_test.go
CodSpeed Performance Gauge
+1%
6.8 µs6.7 µs
bench_collect_results[1000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+1%
213.7 ms211.9 ms
bench_collect_results[100000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+1%
20.3 ms20.2 ms
bench_collect_results[100000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
18.6 ms18.6 ms
bench_collect_results[5000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
1 s1 s
BenchmarkFibonacci20_bN
example/fib_test.go
CodSpeed Performance Gauge
0%
74.5 µs74.5 µs
BenchmarkSleep1ms_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
1 ms1 ms
BenchmarkSleep10ms_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
10 ms10 ms
BenchmarkSleep50ms_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
50 ms50 ms
BenchmarkFibonacci20_Loop
example/fib_test.go
CodSpeed Performance Gauge
0%
68.6 µs68.6 µs
fibonacci(10)
example/fib_test.go::BenchmarkFibonacci10::fibonacci(10)
CodSpeed Performance Gauge
0%
577 ns577 ns
BenchmarkSleep100ns
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
230 ns230 ns
BenchmarkSleep100ns_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
240 ns240 ns
BenchmarkSleep10us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
10.2 µs10.2 µs
BenchmarkSleep1us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
1.2 µs1.2 µs
BenchmarkSleep100us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
100.2 µs100.2 µs
BenchmarkSleep50ms
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
50 ms50 ms
BenchmarkSleep1ms
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
1 ms1 ms
BenchmarkSleep10ms
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
10 ms10 ms
BenchmarkSleep100us
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
100.2 µs100.2 µs
bench_collect_results[500000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
123.7 ms123.7 ms
BenchmarkSleep10us
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
10.2 µs10.2 µs
bench_collect_results[100000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
41.2 ms41.2 ms
bench_collect_results[500000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
103.4 ms103.6 ms
BenchmarkSleep1us
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
1.1 µs1.2 µs
bench_collect_results[1000000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
511.4 ms513.1 ms
BenchmarkTestifyWithNew
example/compat/testify_test.go
CodSpeed Performance Gauge
0%
7.5 µs7.5 µs
BenchmarkWithSlogAssert
example/compat/slogassert_test.go
CodSpeed Performance Gauge
-1%
52.4 µs52.7 µs
bench_collect_results[500000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-1%
250.2 ms254 ms
bench_collect_results[10000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-2%
2.4 s2.4 s
BenchmarkTestifyWithT
example/compat/testify_test.go
CodSpeed Performance Gauge
-2%
3.5 µs3.6 µs
BenchmarkExample
example/very/nested/module/example_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns

Commits

Click on a commit to change the comparison range
Base
main
c5f02fb
+0.37%
feat: reduce warmup time to avoid long benchmark times
d9457ea
13 days ago
by not-matthias
-40.76%
fix: local package not used due to incorrect env var
140fee0
13 days ago
by not-matthias
© 2025 CodSpeed Technology
Home Terms Privacy Docs