Skip to content

chore(deps): bump criterion from 0.5.1 to 0.8.2 - #3625

Merged
oferchen merged 4 commits into
masterfrom
dependabot/cargo/criterion-0.8.2
May 4, 2026
Merged

oferchen merged 4 commits into
masterfrom
dependabot/cargo/criterion-0.8.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 4, 2026 •

Copy link
Copy Markdown
Contributor

Bumps criterion from 0.5.1 to 0.8.2.

Release notes

Sourced from criterion's releases.

criterion-plot-v0.8.2

Other

  • Update Readme

criterion-v0.8.2

Fixed

  • don't build alloca on unsupported targets

Other

  • (deps) bump crate-ci/typos from 1.40.0 to 1.43.0
  • Fix panic with uniform iteration durations in benchmarks
  • Update Readme
  • Exclude development scripts from published package

criterion-plot-v0.8.1

Fixed

  • Typo

criterion-v0.8.1

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.0

No release notes provided.

criterion-v0.8.0

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::ElementsAndBytes allows the text summary to report throughput in both units simultaneously.
  • Add alloca-based memory layout randomisation to mitigate memory effects on measurements.

... (truncated)

Changelog

Sourced from criterion's changelog.

0.8.2 - 2026-02-04

Fixed

  • don't build alloca on unsupported targets

Other

  • (deps) bump crate-ci/typos from 1.40.0 to 1.43.0
  • Fix panic with uniform iteration durations in benchmarks
  • Update Readme
  • Exclude development scripts from published package

0.8.1 - 2025-12-07

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

0.8.0 - 2025-11-29

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::ElementsAndBytes allows 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.

... (truncated)

Commits
  • 7f0d745 chore: release v0.8.2
  • 4a467ce chore(deps): bump crate-ci/typos from 1.40.0 to 1.43.0
  • b277a75 Fix panic with uniform iteration durations in benchmarks
  • 828af14 fix: don't build alloca on unsupported targets
  • b01316b Update Readme
  • 4c02a3b Exclude development scripts from published package
  • e4e06df chore: release v0.8.1
  • aa548b9 fix: Homepage link
  • 950c3b7 fix: Typo
  • 7e3e50c chore(deps): bump crate-ci/typos from 1.23.5 to 1.40.0
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github May 4, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions github-actions Bot added the chore label May 4, 2026
@oferchen

oferchen commented May 4, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github May 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@oferchen

oferchen commented May 4, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github May 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@oferchen

oferchen commented May 4, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github May 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@oferchen

oferchen commented May 4, 2026

Copy link
Copy Markdown
Owner

@dependabot recreate

@dependabot
dependabot Bot force-pushed the dependabot/cargo/criterion-0.8.2 branch 2 times, most recently from a0e5452 to 240f06e Compare May 4, 2026 12:50
@dependabot
dependabot Bot force-pushed the dependabot/cargo/criterion-0.8.2 branch from 240f06e to 2eb2536 Compare May 4, 2026 13:09
@oferchen

oferchen commented May 4, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github May 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

oferchen added 3 commits May 4, 2026 17:49
criterion 0.8 deprecated its black_box re-export in favor of the
std::hint version. Replace the criterion import with std::hint::black_box
across all 21 benchmark files so the workspace builds cleanly under
criterion 0.8.
The criterion 0.8 migration commit ef1d429 missed two bench files:

- platform_copy.rs (8 sites) — entire file used criterion::black_box
- splice_pipe.rs non-Linux arm (1 site) — only the Linux fn had the
  std::hint::black_box import; the non-Linux noop fn referenced
  criterion::black_box without an import in scope

Add `use std::hint::black_box;` inside the non-Linux bench_splice_pipe
fn and replace all remaining qualified calls with the bare form. Keeps
the macOS and Windows CI matrices passing alongside Linux.
Five bench files mixed criterion/rand/std imports out of alphabetical
order after the criterion 0.8 black_box migration. cargo fmt --all
moves `use std::hint::black_box;` to its sorted position.
@oferchen
oferchen merged commit c5afb14 into master May 4, 2026
38 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/criterion-0.8.2 branch May 4, 2026 16:21
oferchen added a commit that referenced this pull request May 5, 2026
* chore(deps): bump criterion from 0.5.1 to 0.8.2

Bumps [criterion](https://github.com/criterion-rs/criterion.rs) from 0.5.1 to 0.8.2.
- [Release notes](https://github.com/criterion-rs/criterion.rs/releases)
- [Changelog](https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](criterion-rs/criterion.rs@0.5.1...criterion-v0.8.2)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix(benches): migrate criterion::black_box to std::hint::black_box

criterion 0.8 deprecated its black_box re-export in favor of the
std::hint version. Replace the criterion import with std::hint::black_box
across all 21 benchmark files so the workspace builds cleanly under
criterion 0.8.

* fix(benches): cover platform_copy and splice_pipe non-linux arm

The criterion 0.8 migration commit ef1d429 missed two bench files:

- platform_copy.rs (8 sites) — entire file used criterion::black_box
- splice_pipe.rs non-Linux arm (1 site) — only the Linux fn had the
  std::hint::black_box import; the non-Linux noop fn referenced
  criterion::black_box without an import in scope

Add `use std::hint::black_box;` inside the non-Linux bench_splice_pipe
fn and replace all remaining qualified calls with the bare form. Keeps
the macOS and Windows CI matrices passing alongside Linux.

* style(benches): rustfmt the std::hint::black_box import order

Five bench files mixed criterion/rand/std imports out of alphabetical
order after the criterion 0.8 black_box migration. cargo fmt --all
moves `use std::hint::black_box;` to its sorted position.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ofer Chen <[email protected]>
oferchen added a commit that referenced this pull request May 18, 2026
* chore(deps): bump criterion from 0.5.1 to 0.8.2

Bumps [criterion](https://github.com/criterion-rs/criterion.rs) from 0.5.1 to 0.8.2.
- [Release notes](https://github.com/criterion-rs/criterion.rs/releases)
- [Changelog](https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](criterion-rs/criterion.rs@0.5.1...criterion-v0.8.2)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix(benches): migrate criterion::black_box to std::hint::black_box

criterion 0.8 deprecated its black_box re-export in favor of the
std::hint version. Replace the criterion import with std::hint::black_box
across all 21 benchmark files so the workspace builds cleanly under
criterion 0.8.

* fix(benches): cover platform_copy and splice_pipe non-linux arm

The criterion 0.8 migration commit ef1d429 missed two bench files:

- platform_copy.rs (8 sites) — entire file used criterion::black_box
- splice_pipe.rs non-Linux arm (1 site) — only the Linux fn had the
  std::hint::black_box import; the non-Linux noop fn referenced
  criterion::black_box without an import in scope

Add `use std::hint::black_box;` inside the non-Linux bench_splice_pipe
fn and replace all remaining qualified calls with the bare form. Keeps
the macOS and Windows CI matrices passing alongside Linux.

* style(benches): rustfmt the std::hint::black_box import order

Five bench files mixed criterion/rand/std imports out of alphabetical
order after the criterion 0.8 black_box migration. cargo fmt --all
moves `use std::hint::black_box;` to its sorted position.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ofer Chen <[email protected]>
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