CodSpeedHQ
codspeed-go
BlogDocsChangelog

fix(testing): emit markers for benchmarks using b.Loop()

#42Merged
Comparing
cod-1760-investigate-missing-flamegraph-for-opentelemetry
(
3ba284c
) with
main
(
a6c2549
)
CodSpeed Performance Gauge
×2.3
Improvements
2
Untouched
46

Benchmarks

Improved

bench_go_runner
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
×2.3
59.6 s26.4 s
bench_collect_results[10000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+40%
2.8 s2 s

Passed

BenchmarkFibonacci20_Loop
example/fib_test.go
CodSpeed Performance Gauge
0%
68.6 µs68.6 µs
BenchmarkWithStopModern
example/setup_test.go
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
BenchmarkWithoutStartupTraditional
example/setup_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
bench_collect_results[5000000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+2%
2.7 s2.6 s
BenchmarkWithOutlierMeasurementModern
example/setup_test.go
CodSpeed Performance Gauge
+2%
1.1 ms1.1 ms
bench_collect_results[100000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
41.2 ms41.1 ms
BenchmarkWithStopTraditional
example/setup_test.go
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
BenchmarkWithOutlierMeasurementTraditional
example/setup_test.go
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
BenchmarkFibonacci10Parallel
example/fib_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkLargeSetup
example/setup_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkWithSlogAssert
example/compat/slogassert_test.go
CodSpeed Performance Gauge
0%
52.4 µs52.2 µs
bench_collect_results[500000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
104.3 ms104.2 ms
BenchmarkSleep100us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
100.2 µs100.2 µs
BenchmarkWithoutStartupModern
example/setup_test.go
CodSpeed Performance Gauge
-1%
1.1 ms1.1 ms
BenchmarkFibonacci20_bN
example/fib_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkFibonacci20Parallel
example/fib_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
bench_collect_results[10000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+4%
2.6 s2.5 s
bench_collect_results[5000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+1%
1 s1 s
bench_collect_results[1000000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
527.7 ms527.2 ms
BenchmarkTestifyWithNew
example/compat/testify_test.go
CodSpeed Performance Gauge
0%
7.7 µs7.7 µs
BenchmarkSleep1us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
1.2 µs1.2 µs
BenchmarkSleep100ns_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
240 ns240 ns
bench_collect_results[100000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
18.5 ms18.6 ms
BenchmarkLargeSetupInLoop
example/setup_test.go
CodSpeed Performance Gauge
-1%
9.7 ms9.9 ms
fibonacci(10)
example/fib_test.go::BenchmarkFibonacci10::fibonacci(10)
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkSleep100us
example/timing/sleep_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkSleep1us
example/timing/sleep_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkSleep1ms
example/timing/sleep_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkSleep10us
example/timing/sleep_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkSleep50ms
example/timing/sleep_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkSleep50ms_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
50 ms50 ms
BenchmarkSleep10us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
10.2 µs10.2 µs
BenchmarkTestifyWithT
example/compat/testify_test.go
CodSpeed Performance Gauge
0%
3.6 µs3.6 µ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
BenchmarkSleep10ms
example/timing/sleep_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
BenchmarkSleep100ns
example/timing/sleep_test.go
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
bench_collect_results[1000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
249.1 ms250 ms
bench_collect_results[100000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-1%
19.9 ms20 ms
bench_collect_results[500000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-1%
123.6 ms124.6 ms
bench_collect_results[1000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-1%
212.2 ms214 ms
BenchmarkQuicktest
example/compat/quicktest_test.go
CodSpeed Performance Gauge
-1%
6.6 µs6.7 µs
bench_collect_results[500000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-2%
251.5 ms256.5 ms
bench_collect_results[5000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-3%
1.3 s1.3 s
bench_collect_results[10000000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-5%
5.3 s5.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
a6c2549
×2.3
fix(testing): emit markers for benchmarks using b.Loop()
3ba284c
2 days ago
by not-matthias
© 2025 CodSpeed Technology
Home Terms Privacy Docs