🚀 Highlights
More precise measurements by default
cycle-estimation is now enabled by default, giving more precise benchmark cycle estimation in Simulation mode. See docs.
New: allocation exclusion
Opt in to exclude-allocations to remove allocator time from benchmarks in Simulation mode and reduce variance. See docs.
samply-based profiler by default on Linux
The walltime profiler now uses samply on all OSes. Set CODSPEED_WALLTIME_PROFILER=perf to restore the previous behavior.
⚠️ Breaking changes
cycle-estimationis now enabled by default (see above)- The
samply-based profiler is now the default on Linux; setCODSPEED_WALLTIME_PROFILER=perfto revert
Details
🚀 Features
- Load eBPF through a delegated BPF token by @GuillaumeLagrange
- Enable cycle estimation and allocation exclusion by default by @not-matthias in #461
- Make samply profiler default for all OSes (#472) by @GuillaumeLagrange in #475
🐛 Bug Fixes
- Classify mapped libraries without init-userns privilege by @GuillaumeLagrange
- Disable allocator exclusion by default (#489) by @not-matthias in #489
💼 Other
- Bump the memtrack pin to 1.4.0 by @adriencaccia in #484
🏗️ Refactor
- Hook-based CPU isolation for the walltime runner by @GuillaumeLagrange
🧪 Testing
- Run every tracking test under both BPF variants by @GuillaumeLagrange
⚙️ Internals
- Bump submodule to reduce debug info server timeouts by @GuillaumeLagrange
- Make tests run release builds of the binaries by @GuillaumeLagrange in #456
- Update submodule to fix fmt and ignore ubuntu debuginfod serv by @GuillaumeLagrange
Install codspeed-runner 5.0.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v5.0.1/codspeed-runner-installer.sh | shDownload codspeed-runner 5.0.1
| 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 |