Skip to content

Bump criterion from 0.3.6 to 0.4.0 in /lang/rust#1861

Merged
martin-g merged 1 commit intomasterfrom
dependabot/cargo/lang/rust/master/criterion-0.4.0
Nov 28, 2022
Merged

Bump criterion from 0.3.6 to 0.4.0 in /lang/rust#1861
martin-g merged 1 commit intomasterfrom
dependabot/cargo/lang/rust/master/criterion-0.4.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 12, 2022

Bumps criterion from 0.3.6 to 0.4.0.

Changelog

Sourced from criterion's changelog.

[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.
Commits
  • 5e27b69 Merge branch 'version-0.4'
  • 4d6d69a Increment version numbers.
  • 935c632 Add Throughput::BytesDecimal. Fixes #581.
  • f82ce59 Remove critcmp code (it belongs in cargo-criterion) (#610)
  • a18d080 Merge branch 'master' into version-0.4
  • f9c6b8d Merge pull request #608 from Cryptex-github/patch-1
  • 8d0224e Fix html report path
  • 2934163 Add missing black_box for bench_with_input parameters. Fixes 566.
  • dfd7b65 Add duplicated benchmark ID to assertion message.
  • ce8259e Bump criterion-plot version number.
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 12, 2022

The following labels could not be found: auto-dependencies.

@github-actions github-actions bot added the Rust label Sep 12, 2022
@martin-g
Copy link
Member

This PR needs Rust 1.57.0 as a minimum to be able to satisfy the new dependencies of criterion (specifically os_str_bytes): https://github.com/apache/avro/actions/runs/3039249633/jobs/4893960727

@martin-g martin-g self-assigned this Sep 15, 2022
@dependabot dependabot bot force-pushed the dependabot/cargo/lang/rust/master/criterion-0.4.0 branch from 83d491e to 985322b Compare September 15, 2022 08:09
@martin-g martin-g marked this pull request as draft September 15, 2022 08:09
@dependabot dependabot bot force-pushed the dependabot/cargo/lang/rust/master/criterion-0.4.0 branch 3 times, most recently from 58bb211 to 44cd260 Compare September 23, 2022 07:02
@dependabot dependabot bot force-pushed the dependabot/cargo/lang/rust/master/criterion-0.4.0 branch from 44cd260 to 69289d7 Compare October 11, 2022 10:45
@dependabot dependabot bot force-pushed the dependabot/cargo/lang/rust/master/criterion-0.4.0 branch 2 times, most recently from 50a30a2 to 408e788 Compare October 24, 2022 07:29
@martin-g martin-g marked this pull request as ready for review November 28, 2022 11:54
@martin-g
Copy link
Member

@dependabot rebase

Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.6 to 0.4.0.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](bheisler/criterion.rs@0.3.6...0.4.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/lang/rust/master/criterion-0.4.0 branch from 408e788 to 41b7df3 Compare November 28, 2022 11:56
@martin-g martin-g merged commit 27914d9 into master Nov 28, 2022
@dependabot dependabot bot deleted the dependabot/cargo/lang/rust/master/criterion-0.4.0 branch November 28, 2022 12:05
martin-g pushed a commit that referenced this pull request Nov 28, 2022
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.6 to 0.4.0.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](bheisler/criterion.rs@0.3.6...0.4.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 27914d9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant