CodSpeedHQ
codspeed-go
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(go-runner): count all timed segments of a b.Loop() iteration In b.Loop() mode, each iteration is saved as one round. The round time was the time since the last StartTimer call, so the timed work before a StopTimer/StartTimer pair in the same iteration was dropped. A benchmark that times its work, stops the timer for a teardown, and restarts it before the next b.Loop() reported only the few hundred nanoseconds between that StartTimer and b.Loop(), while go test reported the real time per operation. Save the timed duration accumulated since the previous round instead. b.N rounds are unchanged: runN resets the timer before each round, so the delta is b.duration.
fix/b-loop-stop-start-timer
2 days ago
fix(cli): drop the value of unsupported go test flags The parser warned about unsupported flags but dropped only the flag, so a separate value was collected as a package. In `go test -p 1 ./... -bench .`, `1` became a package and the run failed with `package 1 is not in std` after the benchmarks completed. Go flag arity is not known to the runner, so after an unsupported flag the next token is dropped too unless it looks like a package pattern (relative or absolute path, `...` wildcard, reserved word, or domain-style import path). Inline `-flag=value` forms still drop a single token. The run keeps going, as before, and never fails before Go is invoked. Closes COD-4005
cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned
2 days ago
fix(cli): reject unsupported go test flags The parser warned about unsupported flags but kept parsing, so a flag value was collected as a package. In `go test -p 1 ./... -bench .`, `1` became a package and the run failed after the benchmarks completed. Reject unsupported flags with a clear error before executing Go, wherever they appear. Keep collecting packages after supported flags so valid arguments are not lost. Drop the unimplemented `--dry-run` option from help. Closes COD-4005
cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned
3 days ago
chore: release v1.3.0
main
2 months ago
feat: support go 1.26 and 1.27 Add a version-matched benchmark.go overlay for Go 1.26 (identical upstream file in 1.27) and extend the CI test matrix to 1.26.x and 1.27.x.
main
2 months ago
feat: support go 1.26 and 1.27 Add a version-matched benchmark.go overlay for Go 1.26 (identical upstream file in 1.27) and extend the CI test matrix to 1.26.x and 1.27.x.
cod-3356-support-go-126-and-127
2 months ago
feat: support go 1.26 and 1.27 Add a version-matched benchmark.go overlay for Go 1.26 (identical upstream file in 1.27) and extend the CI test matrix to 1.26.x and 1.27.x.
cod-3356-support-go-126-and-127
2 months ago
feat: support go 1.26 and 1.27 Add a version-matched benchmark.go overlay for Go 1.26 (identical upstream file in 1.27) and extend the CI test matrix to 1.26.x and 1.27.x.
cod-3356-support-go-126-and-127
2 months ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(go-runner): count all timed segments of a b.Loop() iteration
#68
2 days ago
ab609d2
fix/b-loop-stop-start-timer
CodSpeed Performance Gauge
0%
fix(cli): reject unsupported go test flags
#67
3 days ago
0458739
cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned
CodSpeed Performance Gauge
N/A
feat: support go 1.26 and 1.27
#66
2 months ago
93eb80f
cod-3356-support-go-126-and-127
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs