Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jul 10:01
· 59 commits to main since this release
v2.0.0
c8616fc

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

🚀 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 @art049 in #4
  • feat: add AsyncBencher support by @art049 in #7
  • feat!: add warmup runs by @art049 in #5

Internals

Full Changelog: v1.1.0...v2.0.0