NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4073 most downloaded on crates.io
Divan compatibility layer for CodSpeed
Latest stable
6.0.0
Last release 1 months ago
21 Oct 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 26 of 26 stable releases
8 versions withdrawn
withdrawn after publishing
2 years old
34 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
CodSpeed for Rust 6.0.0 removes a source of measurement noise from your CPU Simulation benchmarks, so you can spend less time investigating unexpected
CodSpeed for Rust 6.0.0 removes a source of measurement noise from your CPU Simulation benchmarks, so you can spend less time investigating unexpected changes in unrelated results.
Your Divan and Criterion benchmarks now run in separate processes. Changes to one benchmark no longer carry allocator state into the benchmarks that follow it, improving consistency as your benchmark suite evolves.
Early results showed lower run-to-run variance, with roughly 70% fewer benchmarks varying by more than 1%. No benchmark code changes required. Your WallTime results are unaffected.
Set CODSPEED_PROCESS_ISOLATION=false to revert to the previous behavior.
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v5.0.3...v6.0.0
docs(cargo-codspeed): clarify BENCHNAME and --bench help by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/195
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v5.0.2...v5.0.3
fix(divan): support threaded walltime benchmarks by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/189
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v5.0.1...v5.0.2
fix(divan): bump proc-macro-crate to parse multiline inline tables by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/185
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v5.0.0...v5.0.1
MSRV bumped to 1.85 for all packages: codspeed, codspeed-criterion-compat, codspeed-divan-compat
MSRV bumped to 1.85 for all packages: codspeed, codspeed-criterion-compat, codspeed-divan-compat
This release includes a fix for benchmark URI generation when users do not use the provided macros to declare their criterion main function.
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.7.0...v5.0.0
> Note: ignored under CodSpeed simulation mode (single measured iteration). Only takes effect in walltime mode.
Note: ignored under CodSpeed simulation mode (single measured iteration). Only takes effect in walltime mode.
We introduced a new finer control way of defining a criterion benchmark to have full control over how many times your code is ran.
This bypasses criterion's original sampler, which we still recommend using if you do not have specific control needs.
use codspeed_criterion_compat::{criterion_group, criterion_main, Criterion, IterManualOptions};
fn bench_my_function(c: &mut Criterion) {
c.bench_function("my_function", |b| {
b.iter_manual_unstable(
IterManualOptions::new()
.rounds(5) // 5 measurement samples, can be lower than criterion's imposed 10
.iters(1000) // 1000 calls per sample
.warmup(5), // 5 unmeasured warmup iterations
|| my_function(),
);
});
}
criterion_group!(benches, bench_my_function);
criterion_main!(benches);
Please note that this API is still under development and may change with future releases.
-- to bench binaries by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/179iter_manual to have finer control over the iteration loop by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/180Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.6.0...v4.7.0
This release adds first support for macOS walltime.
This release adds first support for macOS walltime.
Please note that profiling and other instruments are not yet available on macOS and will come in a later update.
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.5.0...v4.6.0
We now collect buildtime and runtime environment data to warn users about differences in their runtime environment when comparing two runs against one
We now collect buildtime and runtime environment data to warn users about differences in their runtime environment when comparing two runs against one another.
This data includes toolchain metadata like version and build options, as well as a list of dynamically loaded linked libraries.
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.4.1...v4.5.0
chore: update documentation URLs and reformat Cargo.toml files, by @adriencaccia
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.4.0...v4.4.1
feat(cargo-codspeed): allow build with multiple modes by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/162
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.3.0...v4.4.0
feat(cargo-codspeed): add internal build mode by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/159
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.2.1...v4.3.0
fix(core): fix inverted boolean condition in warning message by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/158
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.2.0...v4.2.1
feat: rename instrumentation to simulation by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/150
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.1.0...v4.2.0
feat(divan): support counter compatibility with a dummy implementation by @art049 in https://github.com/CodSpeedHQ/codspeed-rust/pull/115
counter compatibility with a dummy implementation by @art049 in https://github.com/CodSpeedHQ/codspeed-rust/pull/115uuid dependency by @larseggert in https://github.com/CodSpeedHQ/codspeed-rust/pull/148Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.0.5...v4.1.0
feat(cargo-codspeed): add explicit mode with command when no benchmarks are found in run by @adriencaccia in https://github.com/CodSpeedHQ/codspeed-ru
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.0.4...v4.0.5
Finally fixes builds with gcc-15 by @art049 in https://github.com/CodSpeedHQ/codspeed-rust/pull/136
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.0.3...v4.0.4
Fix a windows build error by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/134
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.0.2...v4.0.3
fix(codspeed): always compile instrument-hooks (with stubs) by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/132
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.0.1...v4.0.2
fix: build on macos by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/131
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.0.0...v4.0.1
ci: add explicit mode after action's breaking change by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/123
This release brings the walltime profiling instrument to codspeed-rust! 🎉
[!TIP] Try it out simply by changing the mode to
walltimein the latest version of the action
Bencher implement Send + Sync by @DaniPopes in https://github.com/CodSpeedHQ/codspeed-rust/pull/116Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v3.0.5...v4.0.0
fix: regression for handling rustflags from .cargo/config.toml by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/114
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v3.0.4...v3.0.5
fix: only show fifo warnings when perf env is present by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/112
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v3.0.3...v3.0.4
tests: cargo-bench should work with the compat layers by @art049 in https://github.com/CodSpeedHQ/codspeed-rust/pull/110
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v3.0.2...v3.0.3
Remove default features from statrs by @konstin in https://github.com/CodSpeedHQ/codspeed-rust/pull/108
statrs by @konstin in https://github.com/CodSpeedHQ/codspeed-rust/pull/108Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v3.0.1...v3.0.2
Fix the Windows build (without introducing any runtime features)
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v3.0.0...v3.0.1
> BREAKING: Make sure to use v3 of the compat layers if you're using the v3 of cargo-codspeed
[!WARNING]
BREAKING: Make sure to use v3 of the compat layers if you're using the v3 ofcargo-codspeed
bench profile: cargo-codspeed now uses the bench profile by default when building, improving performance measurement accuracyblack_box: Cleaned up redundant black_box calls from measurements for better performance (thanks @DaniPopes)chore(cargo-codspeed): bump cargo_metadata to v0.19.2 by @Boshen in https://github.com/CodSpeedHQ/codspeed-rust/pull/94
cargo_metadata to v0.19.2 by @Boshen in https://github.com/CodSpeedHQ/codspeed-rust/pull/94Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.10.0...v2.10.1
feat(cargo-codspeed): support --jobs flag in build command by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/91
--jobs flag in build command by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/91Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.9.1...v2.10.0
feat: add support for all-features and no-default-features by @not-matthias in https://github.com/CodSpeedHQ/codspeed-rust/pull/83
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.8.1...v2.9.1
chore: remove deprecated feature from cargo-codspeed release build by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/76
Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.8.0...v2.8.1
This introduces Divan compatibility layer and also Wall Time support. Check out the documentation to try it out here.
This introduces Divan compatibility layer and also Wall Time support. Check out the documentation to try it out here.
cargo-codspeed build targets to different directories between walltime and instrumented by @GuillaumeLagrange in https://github.com/CodSpeedHQ/codspeed-rust/pull/68Full Changelog: https://github.com/CodSpeedHQ/codspeed-rust/compare/v2.7.2...v2.8.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per month.