Skip to content

Commit

Permalink
Merge #443
Browse files Browse the repository at this point in the history
443: chore(deps): update rust crate codspeed-criterion-compat to v2 r=samueltardieu a=renovate[bot]

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [codspeed-criterion-compat](https://codspeed.io) ([source](https://togithub.com/CodSpeedHQ/codspeed-rust)) | dev-dependencies | major | `1.1.0` -> `2.2.0` |

---

### Release Notes

<details>
<summary>CodSpeedHQ/codspeed-rust (codspeed-criterion-compat)</summary>

### [`v2.2.0`](https://togithub.com/CodSpeedHQ/codspeed-rust/releases/tag/v2.2.0)

[Compare Source](https://togithub.com/CodSpeedHQ/codspeed-rust/compare/v2.1.0...v2.2.0)

#### What's Changed

It's now possible to disable `codspeed_criterion_compat` default features.

##### Details

-   fix: allow disabling criterion default features by [`@&#8203;art049](https://togithub.com/art049)` in [https://github.com/CodSpeedHQ/codspeed-rust/pull/12](https://togithub.com/CodSpeedHQ/codspeed-rust/pull/12)

**Full Changelog**: CodSpeedHQ/codspeed-rust@v2.1.0...v2.2.0

### [`v2.1.0`](https://togithub.com/CodSpeedHQ/codspeed-rust/releases/tag/v2.1.0)

[Compare Source](https://togithub.com/CodSpeedHQ/codspeed-rust/compare/v2.0.0...v2.1.0)

#### πŸŽ‰ What's Changed

-   Relative paths are now properly handled when using the `working-directory` action parameter.

#### πŸ“š Details

-   fix: fix relative path when using working-directory by [`@&#8203;art049](https://togithub.com/art049)` in [https://github.com/CodSpeedHQ/codspeed-rust/pull/9](https://togithub.com/CodSpeedHQ/codspeed-rust/pull/9)

**Full Changelog**: CodSpeedHQ/codspeed-rust@v2.0.0...v2.1.0

### [`v2.0.0`](https://togithub.com/CodSpeedHQ/codspeed-rust/releases/tag/v2.0.0)

[Compare Source](https://togithub.com/CodSpeedHQ/codspeed-rust/compare/[email protected])

#### πŸŽ‰ What's Changed

-   Each benchmark is warmed up before each run to reduce the flakiness and the side effects related to the order in which the benchmarks are run.
-   `AsyncBencher` is now supported with the `criterion` compatibility layer.
-   Debug symbols are now generated during the build of the benchmarks, allowing more granularity in the performance reports and detailed profiling. More details can be found in [the documentation](https://docs.codspeed.io/features/trace-generation).

#### πŸš€ Migration Path

This is a **breaking change** and might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability πŸŽ‰!

In some cases, the warmup might optimize out the benchmark. In that case, adding `black_box` should help, also don't hesitate to open an issue so we can have a look and document the behavior.

We recommend you create a standalone PR to update the package, acknowledge the potential regressions, and merge it to update the baseline on your default branch.

#### πŸ“š Details

##### Features

-   feat: add debug symbols in the benchmark build config by [`@&#8203;art049](https://togithub.com/art049)` in [https://github.com/CodSpeedHQ/codspeed-rust/pull/4](https://togithub.com/CodSpeedHQ/codspeed-rust/pull/4)
-   feat: add AsyncBencher support by [`@&#8203;art049](https://togithub.com/art049)` in [https://github.com/CodSpeedHQ/codspeed-rust/pull/7](https://togithub.com/CodSpeedHQ/codspeed-rust/pull/7)
-   feat!: add warmup runs  by [`@&#8203;art049](https://togithub.com/art049)` in [https://github.com/CodSpeedHQ/codspeed-rust/pull/5](https://togithub.com/CodSpeedHQ/codspeed-rust/pull/5)

##### Internals

-   chore: bump criterion by [`@&#8203;art049](https://togithub.com/art049)` in [https://github.com/CodSpeedHQ/codspeed-rust/pull/8](https://togithub.com/CodSpeedHQ/codspeed-rust/pull/8)

**Full Changelog**: CodSpeedHQ/codspeed-rust@v1.1.0...v2.0.0

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/samueltardieu/pathfinding).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->


Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
bors[bot] and renovate[bot] authored Sep 22, 2023
2 parents 87e130f + 6e36b25 commit c8cc1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ thiserror = "1.0.48"
deprecate-until = "0.1.0"

[dev-dependencies]
codspeed-criterion-compat = "1.1.0"
codspeed-criterion-compat = "2.2.0"
itertools = "0.11.0"
lazy_static = "1.4.0"
movingai = "1.3.0"
Expand Down

0 comments on commit c8cc1f0

Please sign in to comment.