Quick mode (--quick) no longer crashes with measured times over 5 seconds when --noplot is not active
[0.5.0] - 2023-05-23
Changed
Replaced lazy_static dependency with once_cell
Improved documentation of the html_reports feature
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] - 2022-09-10
Removed
The Criterion::can_plot function has been removed.
The Criterion::bench_function_over_inputs function has been removed.
The Criterion::bench_functions function has been removed.
The Criterion::bench function 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
rayon and plotters are 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-time and --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-baseline flag for discarding rather than saving benchmark results.
Formal support for benchmarking code compiled to web-assembly.
A --quiet flag for printing just a single line per benchmark.
A Throughput::BytesDecimal option 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 through black_box before
passing it to the benchmark.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on criterion to permit the latest version.
Changelog
Sourced from criterion's changelog.
... (truncated)
Commits
dc2b06c
Release version 0.5.1 (#687)bfc84ad
fix >5s quick mode crash, resolve #658 (#685)4a560cb
release version 0.5 (#683)3e2849e
Post v0.4 CHANGELOG updates (#680)637010e
Bump clap to version 4 (#679)39d7e2f
Update to tempfile 3.5 (#675)8ab2752
Fix typo in known_limitations.md (#674)a211230
chore: replace atty with is-terminal (#628)a844eb2
Bump MSRV to 1.60 for csv dependency (#665)2f53607
Use OR operator to specify multiple licenses (#643)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)