Repository navigation
Highlights
Go benchmark times match go test
b.Loop() benchmarks that stop and restart the timer inside an iteration now report all of their timed work. A round previously counted only the time since the most recent StartTimer, so results for those benchmarks will move.
Unsupported go test flags no longer fail the run
go test -p 1 ./... -bench . used to strip -p, parse 1 as a package, and fail with package 1 is not in std after every benchmark had passed. Flags and their values are now dropped together.
Fixed randomness in CPU Simulation
getrandom(), /dev/urandom, AT_RANDOM and hardware RNG instructions now return the same values on every CPU Simulation run, removing one source of run-to-run variance.
Release Notes
🚀 Features
- Always enable deterministic RNG (#600) by @not-matthias in #600
🐛 Bug Fixes
- Quiet expected libbpf warnings in a user namespace (#602) by @GuillaumeLagrange in #602
- Bump go-runner to 1.4.0 (#605) by @adriencaccia in #605
- fix(cli): drop the value of unsupported go test flags by @not-matthias in CodSpeedHQ/codspeed-go#67
- fix(go-runner): count all timed segments of a b.Loop() iteration by @not-matthias in CodSpeedHQ/codspeed-go#69
Install codspeed-runner 5.6.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v5.6.3/codspeed-runner-installer.sh | shDownload codspeed-runner 5.6.3
| File | Platform | Checksum |
|---|---|---|
| codspeed-runner-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| codspeed-runner-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| codspeed-runner-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |