Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x).
Fix generate parametrize tests benchmark csv report errors (issue [#268](https://github.com/ionelmc/pytest-benchmark/issues/268) <https://github.com/ionelmc/pytest-benchmark/issues/268>).
Contributed by Johnny Huang in [#269](https://github.com/ionelmc/pytest-benchmark/issues/269) <https://github.com/ionelmc/pytest-benchmark/pull/269>.
Added the --benchmark-time-unit cli option for overriding the measurement unit used for display.
Contributed by Tony Kuo in [#257](https://github.com/ionelmc/pytest-benchmark/issues/257) <https://github.com/ionelmc/pytest-benchmark/pull/257>_.
Fixes spelling in some help texts.
Contributed by Eugeniy in [#267](https://github.com/ionelmc/pytest-benchmark/issues/267) <https://github.com/ionelmc/pytest-benchmark/pull/267>_.
Added new cprofile options:
--benchmark-cprofile-loops=LOOPS - previously profiling only ran the function once, this allow customization.
--benchmark-cprofile-top=COUNT - allows showing more rows.
--benchmark-cprofile-dump=[FILENAME-PREFIX] - allows saving to a file (that you can load in snakeviz <https://pypi.org/project/snakeviz/>, RunSnakeRun <https://pypi.org/project/RunSnakeRun/> or other tools).
4.0.0 (2022-10-26)
Dropped support for legacy Pythons (2.7, 3.6 or older).
Switched CI to GitHub Actions.
Removed dependency on the py library (that was not properly specified as a dependency anyway).
Fix skipping test in test_utils.py if appropriate VCS not available. Also fix typo.
Contributed by Sam James in [#211](https://github.com/ionelmc/pytest-benchmark/issues/211) <https://github.com/ionelmc/pytest-benchmark/pull/211>_.
Added support for pytest 7.2.0 by using pytest.hookimpl and pytest.hookspec to configure hooks.
Contributed by Florian Bruhin in [#224](https://github.com/ionelmc/pytest-benchmark/issues/224) <https://github.com/ionelmc/pytest-benchmark/pull/224>_.
Now no save is attempted if --benchmark-disable is used.
Fixes [#205](https://github.com/ionelmc/pytest-benchmark/issues/205) <https://github.com/ionelmc/pytest-benchmark/issues/205>.
Contributed by Friedrich Delgado in [#207](https://github.com/ionelmc/pytest-benchmark/issues/207) <https://github.com/ionelmc/pytest-benchmark/pull/207>.
3.4.1 (2021-04-17)
Republished with updated changelog.
I intended to publish a 3.3.0 release but I messed it up because bumpversion doesn't work well with pre-commit
apparently... thus 3.4.0 was set in by accident.
3.4.0 (2021-04-17)
Disable progress indication unless --benchmark-verbose is used.
Contributed by Dimitris Rozakis in [#149](https://github.com/ionelmc/pytest-benchmark/issues/149) <https://github.com/ionelmc/pytest-benchmark/pull/149>_.
Added Python 3.9, dropped Python 3.5.
Contributed by Miroslav Šedivý in [#189](https://github.com/ionelmc/pytest-benchmark/issues/189) <https://github.com/ionelmc/pytest-benchmark/pull/189>_.
Changed the "cpu" data in the json output to include everything that cpuinfo outputs, for better or worse as cpuinfo 6.0 changed some
fields. Users should now ensure they are an adequate cpuinfo package installed.
MAY BE BACKWARDS INCOMPATIBLE
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on pytest-benchmark to permit the latest version.
Changelog
Sourced from pytest-benchmark's changelog.
... (truncated)
Commits
614df44
Bump version: 4.0.0 → 5.0.065fc262
Make it a major (since it drops py3.8).0c32498
Remove stray stuff.e1dcd91
Add new cprofile options.61229eb
Replace all uses of py.path with pathlib.00a2d08
Fix stub.bbdf30f
Oops, fix cleanup regression.e88eceb
Add--benchmark-cprofile-loops
and--benchmark-cprofile-top
options.fcd7d95
Clean up this index mess.023d699
Cleanup some leftover py 3.8 (or older) support code.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show