triple-buffer
triple-buffer copied to clipboard
Update criterion requirement from 0.3 to 0.4
Updates the requirements on criterion to permit the latest version.
Changelog
Sourced from criterion's changelog.
[0.4.0] - 2022-09-10
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.[0.3.6] - 2022-07-06
Changed
- MSRV bumped to 1.49
- Symbol for microseconds changed from ASCII 'us' to unicode 'µs'
- Documentation fixes
- Clippy fixes
[0.3.5] - 2021-07-26
Fixed
- Corrected
Criterion.tomlin the book.- Corrected configuration typo in the book.
Changed
- Bump plotters dependency to always include a bug-fix.
- MSRV bumped to 1.46.
... (truncated)
Commits
5e27b69Merge branch 'version-0.4'4d6d69aIncrement version numbers.935c632Add Throughput::BytesDecimal. Fixes #581.f82ce59Remove critcmp code (it belongs in cargo-criterion) (#610)a18d080Merge branch 'master' into version-0.4f9c6b8dMerge pull request #608 from Cryptex-github/patch-18d0224eFix html report path2934163Add missing black_box for bench_with_input parameters. Fixes 566.dfd7b65Add duplicated benchmark ID to assertion message.ce8259eBump criterion-plot version number.- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This release has major changes and the docs have not been updated accordingly yet. Will let it cook a bit before merging.
Superseded by #22.