Releases: criterion-rs/criterion.rs
Releases · criterion-rs/criterion.rs
criterion-v0.8.1
Immutable
release. Only release title and notes can be modified.
Fixed
- Homepage link
Other
- (deps) bump crate-ci/typos from 1.23.5 to 1.40.0
- (deps) bump jontze/action-mdbook from 3 to 4
- (deps) bump actions/checkout from 4 to 6
criterion-plot-v0.8.1
Immutable
release. Only release title and notes can be modified.
Fixed
- Typo
criterion-v0.8.0
Immutable
release. Only release title and notes can be modified.
BREAKING
- Drop async-std support
Changed
- Bump MSRV to 1.86, stable to 1.91.1
Added
- Add ability to plot throughput on summary page.
- Add support for reporting throughput in elements and bytes -
Throughput::ElementsAndBytesallows the text summary to report throughput in both units simultaneously. - Add alloca-based memory layout randomisation to mitigate memory effects on measurements.
- Add doc comment to benchmark runner in criterion_group macro (removes linter warnings)
Fixed
- Fix plotting NaN bug
Other
- Remove Master API Docs links temporarily while we restore the docs publishing.
criterion-plot-v0.8.0
Immutable
release. Only release title and notes can be modified.
chore: Release package criterion-plot version 0.8.0
criterion-plot-v0.7.0
Immutable
release. Only release title and notes can be modified.
chore: Release package criterion-plot version 0.7.0
0.7.0
0.6.0
Changed
- MSRV bumped to 1.80
- The
real_blackboxfeature no longer has any impact. Criterion always usesstd::hint::black_box()now.
Users ofcriterion::black_box()should switch tostd::hint::black_box(). clapdependency unpinned.
Fixed
- gnuplot version is now correctly detected when using certain Windows binaries/configurations that used to fail
Added
- Async benchmarking with Tokio may be done via a
tokio::runtime::Handle, not only atokio::runtime::Runtime
0.5.1
0.5.0
Changed
- Replaced lazy_static dependency with once_cell
- Improved documentation of the
html_reportsfeature - Replaced atty dependency with is-terminal
- MSRV bumped to 1.64
- Upgraded clap dependency to v4
- Upgraded tempfile dependency to v3.5.0
Fixed
- Quick mode (
--quick) no longer outputs 1ms for measured times over 5 seconds - Documentation updates
0.4.0
Removed
- The
Criterion::can_plotfunction has been removed. - The
Criterion::bench_function_over_inputsfunction has been removed. - The
Criterion::bench_functionsfunction has been removed. - The
Criterion::benchfunction has been removed.
Changed
- HTML report hidden behind non-default feature flag: 'html_reports'
- Standalone support (ie without cargo-criterion) feature flag: 'cargo_bench_support'
- MSRV bumped to 1.57
rayonandplottersare optional (and default) dependencies.- Status messages ('warming up', 'analyzing', etc) are printed to stderr, benchmark results are printed to stdout.
- Accept subsecond durations for
--warm-up-time,--measurement-timeand--profile-time. - Replaced serde_cbor with ciborium because the former is no longer maintained.
- Upgrade clap to v3 and regex to v1.5.
Added
- A
--discard-baselineflag for discarding rather than saving benchmark results. - Formal support for benchmarking code compiled to web-assembly.
- A
--quietflag for printing just a single line per benchmark. - A
Throughput::BytesDecimaloption for measuring throughput in bytes but printing them using
decimal units like kilobytes instead of binary units like kibibytes.
Fixed
- When using
bench_with_input, the input parameter will now be passed throughblack_boxbefore
passing it to the benchmark.