CodSpeedHQ
codspeed-go
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
ci: use --locked when installing cargo-codspeed
#60
Merged
Comparing
install-locked-in-ci
(
4d99425
) with
main
(
574b6c1
)
CodSpeed Performance Gauge
+27%
Improvement
1
Untouched
47
Skipped
1
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
Improvement
Untouched
Skipped
49 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkExternalFib
example/external/external_test.go
CodSpeed Performance Gauge
+27%
57 ns
45 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkWithOutlierMeasurementModern
example/setup_test.go
CodSpeed Performance Gauge
-4%
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
-3%
1 s
*
1.1 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
+3%
21.6 ms
*
21 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkWithStopModern
example/setup_test.go
CodSpeed Performance Gauge
+2%
1.1 ms
1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkTestifyWithNew
example/compat/testify_test.go
CodSpeed Performance Gauge
-2%
7.7 µs
7.8 µ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
+2%
2.1 s
*
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
+2%
5.4 s
*
5.3 s
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
-1%
2.7 s
*
2.7 s
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
-1%
2.5 s
*
2.6 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkLargeSetupInLoop
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.
bench_collect_results[500000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-1%
259.2 ms
*
262.1 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
+1%
1.3 s
*
1.3 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkSleep1us_Loop
example/timing/sleep_test.go
CodSpeed Performance Gauge
+1%
1.2 µs
1.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[1000000, 25]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
-1%
520.3 ms
*
525 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
fibonacci(10)
example/fib_test.go::BenchmarkFibonacci10::fibonacci(10)
CodSpeed Performance Gauge
+1%
587 ns
583 ns
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
0%
122 ms
*
122.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkSleep100ns
example/timing/sleep_test.go
CodSpeed Performance Gauge
0%
227 ns
226 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkWithSlogAssert
example/compat/slogassert_test.go
CodSpeed Performance Gauge
0%
55.7 µs
55.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkFibonacci20_bN
example/fib_test.go
CodSpeed Performance Gauge
0%
75.6 µs
75.4 µ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
0%
208.8 ms
*
208 ms
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
0%
43.5 ms
*
43.7 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkTestifyWithT
example/compat/testify_test.go
CodSpeed Performance Gauge
0%
3.6 µs
3.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_collect_results[100000, 5]
go-runner/benches/go_runner.rs
CodSpeed Performance Gauge
0%
19.3 ms
*
19.4 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
0%
246 ms
*
246.7 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
574b6c1
+26.67%
ci: use --locked when installing cargo-codspeed
4d99425
5 months ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs