Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rust crate criterion to 0.5 #60

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2024

This PR contains the following updates:

Package Type Update Change
criterion (source) dev-dependencies minor 0.3 -> 0.5

Release Notes

bheisler/criterion.rs (criterion)

v0.5.1

Compare Source

Fixed
  • Quick mode (--quick) no longer crashes with measured times over 5 seconds when --noplot is not active

v0.5.0

Compare Source

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

v0.4.0

Compare Source

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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/criterion-0.x branch 2 times, most recently from 91408c2 to 4104720 Compare November 17, 2024 18:57
Copy link

codecov bot commented Nov 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.35%. Comparing base (eb74db7) to head (57a2f0c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   87.35%   87.35%           
=======================================
  Files           3        3           
  Lines         174      174           
  Branches      174      174           
=======================================
  Hits          152      152           
  Misses         12       12           
  Partials       10       10           
Flag Coverage Δ
cargo-test 69.54% <ø> (ø)
pytest 81.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/criterion-0.x branch 7 times, most recently from d35c964 to 6dd4b30 Compare November 17, 2024 20:10
@vlaci vlaci merged commit f2af2a5 into main Nov 17, 2024
4 checks passed
@vlaci vlaci deleted the renovate/criterion-0.x branch November 17, 2024 20:52
vlaci added a commit that referenced this pull request Nov 18, 2024
chore(deps): update rust crate criterion to 0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant