Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-benchmark (changelog) 5.1.0 -> 5.2.0 age adoption passing confidence

Release Notes

ionelmc/pytest-benchmark (pytest-benchmark)

v5.2.0

Compare Source

  • Added support for a per-round teardown function to pedantic mode.
    Contributed Patrick Winter by #&#8203;264 <https://github.com/ionelmc/pytest-benchmark/pull/264>_.
  • Added --benchmark-time-unit option.
    Contributed by Tony Kuo in #&#8203;281 <https://github.com/ionelmc/pytest-benchmark/pull/281>_.
  • Fixed deprecated hook examples in docstrings.
    Contributed by Ali-Akber Saifee in #&#8203;284 <https://github.com/ionelmc/pytest-benchmark/pull/284>_.
  • Changed --benchmark-compare-fail to accept percentages higher than 100%.
    Contributed by Ben Avrahami in #&#8203;290 <https://github.com/ionelmc/pytest-benchmark/pull/280>_.
  • Added minimal typing support.
    Contributed by Sorin Sbarnea in #&#8203;290 <https://github.com/ionelmc/pytest-benchmark/pull/290>_.
  • Fixed support for Python 3.9.
    Contributed by Enno Gotthold in #&#8203;291 <https://github.com/ionelmc/pytest-benchmark/pull/291>_.
  • Replaced the complicated and broken code of pytest_benchmark.utils.clonefunc with a simple return of the input.
    That function was supposed to allow benchmarking with the cost of PyPy JIT included but it's a hassle to maintain.
  • Moved the instrumentation pause outside the round loops (in addition to tracing, profiling is paused too).
    Pedantic mode will keep doing this per round (as the user manually controls the round count).
    This is necessary because in some scenarios setting and unsetting the tracer too much will overflow an internal counter
    (found to cause "OverflowError: events set too many times" at least on Python 3.13).

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 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 added the dependencies Pull requests that update a dependency file label Nov 20, 2025
@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1040   +/-   ##
=======================================
  Coverage   97.29%   97.29%           
=======================================
  Files          21       21           
  Lines        1666     1666           
=======================================
  Hits         1621     1621           
  Misses         45       45           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 191acba Previous: 0563133 Ratio
benchmarks/test_1000x.py::test_1000x_reads 0.6420591690205065 iter/sec (stddev: 0.0350976853680566) 0.595984783287904 iter/sec (stddev: 0.033727925359376625) 0.93
benchmarks/test_1000x.py::test_1000x_writes 0.5770097454069035 iter/sec (stddev: 0.0782346057340924) 0.5607975668199532 iter/sec (stddev: 0.11020061127028472) 0.97
benchmarks/test_standard.py::test_standard 0.5735898690023448 iter/sec (stddev: 0.06030429946163577) 0.539932601122649 iter/sec (stddev: 0.055542694543868114) 0.94

This comment was automatically generated by workflow using github-action-benchmark.

@noahnu noahnu merged commit e936f1d into main Nov 20, 2025
19 checks passed
@noahnu noahnu deleted the renovate/pytest-benchmark-5.x-lockfile branch November 20, 2025 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants