CodSpeedHQ
codspeed-go
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
fix(testing): incomplete reading of benchmark time in b.N loops
#43
Merged
Comparing
cod-1776-go-benchmarks-report-1ns-time-for-fuego
(
5331397
) with
main
(
0ee1cab
)
CodSpeed Performance Gauge
-30%
Improvement
1
Regression
4
Untouched
43
Some benchmarks measured no execution time
Nothing ran under measurement, usually because the compiler removed the code under test. These results are not comparable, so they count as unchanged.
Preventing compiler optimizations
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
48 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[10000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-30%
2.4 s
3.4 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkSleep100ns_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
-20%
240 ns
300 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[5000000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-18%
2.5 s
3.1 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkLargeSetupInLoop
example/setup_test.go
CodSpeed Performance Gauge
-18%
9.8 ms
11.9 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_go_runner
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
×2.3
130.4 s
56 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkSleep1us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
-5%
1.2 µs
1.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[10000000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-4%
5 s
5.2 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkWithStopModern
example/setup_test.go
CodSpeed Performance Gauge
-3%
1 ms
1.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[500000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+3%
105.3 ms
102.7 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[5000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-3%
1.3 s
1.3 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[10000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-3%
2 s
2.1 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[500000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+2%
127.1 ms
124.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[1000000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-2%
248.1 ms
253.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkTestifyWithT
example/compat/testify_test.go
CodSpeed Performance Gauge
-2%
3.6 µs
3.7 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[500000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+2%
261.8 ms
257.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkWithOutlierMeasurementModern
example/setup_test.go
CodSpeed Performance Gauge
+2%
1.1 ms
1.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[5000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+1%
1 s
1 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[1000000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-1%
214.1 ms
216.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkWithoutStartupModern
example/setup_test.go
CodSpeed Performance Gauge
-1%
1.1 ms
1.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkQuicktest
example/compat/quicktest_test.go
CodSpeed Performance Gauge
+1%
6.7 µs
6.7 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[100000, 10]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
+1%
20.4 ms
20.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkTestifyWithNew
example/compat/testify_test.go
CodSpeed Performance Gauge
-1%
7.7 µs
7.7 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[100000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-1%
41 ms
41.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkWithSlogAssert
example/compat/slogassert_test.go
CodSpeed Performance Gauge
+1%
52.5 µs
52.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkSleep10us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
10.2 µs
10.2 µs
1
2
Commits
Click on a commit to change the comparison range
Base
main
0ee1cab
-29.54%
fix(testing): incomplete reading of benchmark time in b.N loops
5331397
10 months ago
by not-matthias
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs