pytest-benchmark 5.2.0__tar.gz → 5.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/.bumpversion.cfg +1 -1
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/.cookiecutterrc +1 -1
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/.pre-commit-config.yaml +1 -1
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/AUTHORS.rst +1 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/CHANGELOG.rst +69 -57
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/PKG-INFO +70 -58
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/README.rst +2 -2
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/conf.py +1 -1
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/usage.rst +49 -41
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/pyproject.toml +1 -1
- pytest_benchmark-5.2.2/src/pytest_benchmark/__init__.py +6 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/cli.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/compat.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/csv.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/fixture.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/histogram.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/hookspec.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/logger.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/plugin.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/session.py +9 -1
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/stats.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/table.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/timers.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/utils.py +5 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/PKG-INFO +70 -58
- pytest_benchmark-5.2.0/src/pytest_benchmark/__init__.py +0 -1
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/.coveragerc +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/.editorconfig +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/.github/workflows/github-actions.yml +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/.readthedocs.yml +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/.taplo.toml +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/CONTRIBUTING.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/LICENSE +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/MANIFEST.in +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/ci/bootstrap.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/ci/requirements.txt +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/ci/templates/.github/workflows/github-actions.yml +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/authors.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/calibration.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/changelog.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/comparing.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/contributing.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/faq.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/glossary.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/hooks.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/index.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/installation.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/measurement-issues.png +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/pedantic.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/requirements.txt +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/sample.svg +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/screenshot-compare.png +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/screenshot-histogram.png +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/screenshot.png +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/docs/spelling_wordlist.txt +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/pytest.ini +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/setup.cfg +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/setup.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/__main__.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/py.typed +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/storage/__init__.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/storage/elasticsearch.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark/storage/file.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/SOURCES.txt +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/dependency_links.txt +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/entry_points.txt +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/not-zip-safe +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/requires.txt +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/top_level.txt +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_benchmark.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_calibration.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_cli.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_doctest.rst +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_elasticsearch_storage.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_nbmake.ipynb +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_normal.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_pedantic.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_sample.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_skip.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_stats.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0001_b87b9aae14ff14a7887a6bbaa9731b9a8760555d_20150814_190343_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0002_b87b9aae14ff14a7887a6bbaa9731b9a8760555d_20150814_190348_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0003_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030157_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0004_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030202_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0005_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030207_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0006_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030213_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0007_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030218_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0008_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030223_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0009_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030228_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0010_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030233_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0011_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030238_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0012_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030243_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0013_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030248_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0014_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030253_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0015_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030259_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0016_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030304_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0017_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030310_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0018_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030315_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0019_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030320_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0020_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030325_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0021_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030330_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0022_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030335_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0023_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030340_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0024_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030346_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0025_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030351_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0026_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030356_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0027_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030402_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0028_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030408_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0029_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030413_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage/0030_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030419_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_storage.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_utils.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_with_testcase.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tests/test_with_weaver.py +0 -0
- {pytest_benchmark-5.2.0 → pytest_benchmark-5.2.2}/tox.ini +0 -0
|
@@ -6,7 +6,7 @@ exclude: '^(\.tox|ci/templates|\.bumpversion\.cfg)(/|$)'
|
|
|
6
6
|
# Note the order is intentional to avoid multiple passes of the hooks
|
|
7
7
|
repos:
|
|
8
8
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
9
|
-
rev: v0.14.
|
|
9
|
+
rev: v0.14.4
|
|
10
10
|
hooks:
|
|
11
11
|
- id: ruff
|
|
12
12
|
args: [--fix, --exit-non-zero-on-fix, --show-fixes, --unsafe-fixes]
|
|
@@ -2,8 +2,20 @@
|
|
|
2
2
|
Changelog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
v5.2.2 (2025-11-07)
|
|
6
|
+
--------------------
|
|
7
|
+
|
|
8
|
+
* Fixed auto-disable to work with newer xdist (pytest-benchmark auto disables benchmarks if xdist is enabled by design).
|
|
9
|
+
Contributed by Thomas B. Brunner in `#294 <https://github.com/ionelmc/pytest-benchmark/pull/294>`_.
|
|
10
|
+
|
|
11
|
+
v5.2.1 (2025-11-04)
|
|
12
|
+
--------------------
|
|
13
|
+
|
|
14
|
+
* Add markers so pytest doesn't try to assert-rewrite the plugin internals
|
|
15
|
+
(fixes those ``pytest.PytestAssertRewriteWarning: Module already imported so cannot be rewritten; pytest_benchmark`` warnings).
|
|
16
|
+
|
|
17
|
+
v5.2.0 (2025-10-30)
|
|
18
|
+
-------------------
|
|
7
19
|
|
|
8
20
|
* Added support for a per-round ``teardown`` function to pedantic mode.
|
|
9
21
|
Contributed Patrick Winter by `#264 <https://github.com/ionelmc/pytest-benchmark/pull/264>`_.
|
|
@@ -24,19 +36,19 @@ Changelog
|
|
|
24
36
|
This is necessary because in some scenarios setting and unsetting the tracer too much will overflow an internal counter
|
|
25
37
|
(found to cause "OverflowError: events set too many times" at least on Python 3.13).
|
|
26
38
|
|
|
27
|
-
|
|
28
|
-
|
|
39
|
+
v5.1.0 (2024-10-30)
|
|
40
|
+
-------------------
|
|
29
41
|
|
|
30
42
|
* Fixed broken hooks handling on pytest 8.1 or later (the ``TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages'`` issue).
|
|
31
43
|
Unfortunately this sets the minimum supported pytest version to 8.1.
|
|
32
44
|
|
|
33
|
-
|
|
34
|
-
|
|
45
|
+
v5.0.1 (2024-10-30)
|
|
46
|
+
-------------------
|
|
35
47
|
|
|
36
48
|
* Fixed bad fixture check that broke down then `nbmake <https://pypi.org/project/nbmake/>`_ was enabled.
|
|
37
49
|
|
|
38
|
-
|
|
39
|
-
|
|
50
|
+
v5.0.0 (2024-10-29)
|
|
51
|
+
-------------------
|
|
40
52
|
|
|
41
53
|
* Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x).
|
|
42
54
|
* Fix generate parametrize tests benchmark csv report errors (issue `#268 <https://github.com/ionelmc/pytest-benchmark/issues/268>`_).
|
|
@@ -52,8 +64,8 @@ Changelog
|
|
|
52
64
|
- ``--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).
|
|
53
65
|
* Removed hidden dependency on `py.path <https://pypi.org/project/py/>`_ (replaced with pathlib).
|
|
54
66
|
|
|
55
|
-
|
|
56
|
-
|
|
67
|
+
v4.0.0 (2022-10-26)
|
|
68
|
+
-------------------
|
|
57
69
|
|
|
58
70
|
* Dropped support for legacy Pythons (2.7, 3.6 or older).
|
|
59
71
|
* Switched CI to GitHub Actions.
|
|
@@ -66,8 +78,8 @@ Changelog
|
|
|
66
78
|
Fixes `#205 <https://github.com/ionelmc/pytest-benchmark/issues/205>`_.
|
|
67
79
|
Contributed by Friedrich Delgado in `#207 <https://github.com/ionelmc/pytest-benchmark/pull/207>`_.
|
|
68
80
|
|
|
69
|
-
|
|
70
|
-
|
|
81
|
+
v3.4.1 (2021-04-17)
|
|
82
|
+
-------------------
|
|
71
83
|
|
|
72
84
|
* Republished with updated changelog.
|
|
73
85
|
|
|
@@ -75,8 +87,8 @@ Changelog
|
|
|
75
87
|
apparently... thus ``3.4.0`` was set in by accident.
|
|
76
88
|
|
|
77
89
|
|
|
78
|
-
|
|
79
|
-
|
|
90
|
+
v3.4.0 (2021-04-17)
|
|
91
|
+
-------------------
|
|
80
92
|
|
|
81
93
|
* Disable progress indication unless ``--benchmark-verbose`` is used.
|
|
82
94
|
Contributed by Dimitris Rozakis in `#149 <https://github.com/ionelmc/pytest-benchmark/pull/149>`_.
|
|
@@ -95,8 +107,8 @@ Changelog
|
|
|
95
107
|
Fixes `#199 <https://github.com/ionelmc/pytest-benchmark/issues/199>`_.
|
|
96
108
|
* ``PerformanceRegression`` exception no longer inherits ``pytest.UsageError`` (apparently a *final* class).
|
|
97
109
|
|
|
98
|
-
|
|
99
|
-
|
|
110
|
+
v3.2.3 (2020-01-10)
|
|
111
|
+
-------------------
|
|
100
112
|
|
|
101
113
|
* Fixed "already-imported" pytest warning. Contributed by Jonathan Simon Prates in
|
|
102
114
|
`#151 <https://github.com/ionelmc/pytest-benchmark/pull/151>`_.
|
|
@@ -104,13 +116,13 @@ Changelog
|
|
|
104
116
|
* Dropped Python 3.4 from the test suite and updated test deps.
|
|
105
117
|
* Fixed ``pytest_benchmark.utils.clonefunc`` to work on Python 3.8.
|
|
106
118
|
|
|
107
|
-
|
|
108
|
-
|
|
119
|
+
v3.2.2 (2017-01-12)
|
|
120
|
+
-------------------
|
|
109
121
|
|
|
110
122
|
* Added support for pytest items without funcargs. Fixes interoperability with other pytest plugins like pytest-flake8.
|
|
111
123
|
|
|
112
|
-
|
|
113
|
-
|
|
124
|
+
v3.2.1 (2017-01-10)
|
|
125
|
+
-------------------
|
|
114
126
|
|
|
115
127
|
* Updated changelog entries for 3.2.0. I made the release for pytest-cov on the same day and thought I updated the
|
|
116
128
|
changelogs for both plugins. Alas, I only updated pytest-cov.
|
|
@@ -118,8 +130,8 @@ Changelog
|
|
|
118
130
|
* Fixed couple CI/test issues.
|
|
119
131
|
* Fixed broken ``pytest_benchmark.__version__``.
|
|
120
132
|
|
|
121
|
-
|
|
122
|
-
|
|
133
|
+
v3.2.0 (2017-01-07)
|
|
134
|
+
-------------------
|
|
123
135
|
|
|
124
136
|
* Added support for simple ``trial`` x-axis histogram label. Contributed by Ken Crowell in
|
|
125
137
|
`#95 <https://github.com/ionelmc/pytest-benchmark/pull/95>`_).
|
|
@@ -154,16 +166,16 @@ Changelog
|
|
|
154
166
|
`#136 <https://github.com/ionelmc/pytest-benchmark/pull/136>`_ and
|
|
155
167
|
`#138 <https://github.com/ionelmc/pytest-benchmark/pull/138>`_.
|
|
156
168
|
|
|
157
|
-
|
|
158
|
-
|
|
169
|
+
v3.1.1 (2017-07-26)
|
|
170
|
+
-------------------
|
|
159
171
|
|
|
160
172
|
* Fixed loading data from old json files (missing ``ops`` field, see
|
|
161
173
|
`#81 <https://github.com/ionelmc/pytest-benchmark/issues/81>`_).
|
|
162
174
|
* Fixed regression on broken SCM (see
|
|
163
175
|
`#82 <https://github.com/ionelmc/pytest-benchmark/issues/82>`_).
|
|
164
176
|
|
|
165
|
-
|
|
166
|
-
|
|
177
|
+
v3.1.0 (2017-07-21)
|
|
178
|
+
-------------------
|
|
167
179
|
|
|
168
180
|
* Added "operations per second" (``ops`` field in ``Stats``) metric --
|
|
169
181
|
shows the call rate of code being tested. Contributed by Alexey Popravka in
|
|
@@ -181,7 +193,7 @@ Changelog
|
|
|
181
193
|
* Remove ``git`` and ``hg`` as system dependencies when guessing the project name.
|
|
182
194
|
|
|
183
195
|
3.1.0a2 (2017-03-27)
|
|
184
|
-
|
|
196
|
+
---------------------
|
|
185
197
|
|
|
186
198
|
* ``machine_info`` now contains more detailed information about the CPU, in
|
|
187
199
|
particular the exact model. Contributed by Antonio Cuni in `#61 <https://github.com/ionelmc/pytest-benchmark/pull/61>`_.
|
|
@@ -200,7 +212,7 @@ Changelog
|
|
|
200
212
|
* Remove the project name from the autosave name. This will get the old brief naming from 3.0 back.
|
|
201
213
|
|
|
202
214
|
3.1.0a1 (2016-10-29)
|
|
203
|
-
|
|
215
|
+
---------------------
|
|
204
216
|
|
|
205
217
|
* Added ``--benchmark-columns`` command line option. It selects what columns are displayed in the result table. Contributed by
|
|
206
218
|
Antonio Cuni in `#34 <https://github.com/ionelmc/pytest-benchmark/pull/34>`_.
|
|
@@ -227,8 +239,8 @@ Changelog
|
|
|
227
239
|
* Changed ``--benchmark-storage`` so it now allows elasticsearch storage. It allows to store data to elasticsearch instead to
|
|
228
240
|
json files. Contributed by Petr Šebek in `#58 <https://github.com/ionelmc/pytest-benchmark/pull/58>`_.
|
|
229
241
|
|
|
230
|
-
|
|
231
|
-
|
|
242
|
+
v3.0.0 (2015-11-08)
|
|
243
|
+
-------------------
|
|
232
244
|
|
|
233
245
|
* Improved ``--help`` text for ``--benchmark-histogram``, ``--benchmark-save`` and ``--benchmark-autosave``.
|
|
234
246
|
* Benchmarks that raised exceptions during test now have special highlighting in result table (red background).
|
|
@@ -242,7 +254,7 @@ Changelog
|
|
|
242
254
|
* Not using the benchmark fixture (but requiring it) will issue a warning (``WBENCHMARK-U1``).
|
|
243
255
|
|
|
244
256
|
3.0.0rc1 (2015-10-25)
|
|
245
|
-
|
|
257
|
+
----------------------
|
|
246
258
|
|
|
247
259
|
* Changed ``--benchmark-warmup`` to take optional value and automatically activate on PyPy (default value is ``auto``).
|
|
248
260
|
**MAY BE BACKWARDS INCOMPATIBLE**
|
|
@@ -250,7 +262,7 @@ Changelog
|
|
|
250
262
|
the file).
|
|
251
263
|
|
|
252
264
|
3.0.0b3 (2015-10-22)
|
|
253
|
-
|
|
265
|
+
----------------------
|
|
254
266
|
|
|
255
267
|
* Changed how comparison is displayed in the result table. Now previous runs are shown as normal runs and names get a
|
|
256
268
|
special suffix indicating the origin. Eg: "test_foobar (NOW)" or "test_foobar (0123)".
|
|
@@ -259,7 +271,7 @@ Changelog
|
|
|
259
271
|
* Moved the display of default options in the header section.
|
|
260
272
|
|
|
261
273
|
3.0.0b2 (2015-10-17)
|
|
262
|
-
|
|
274
|
+
----------------------
|
|
263
275
|
|
|
264
276
|
* Add a ``--benchmark-disable`` option. It's automatically activated when xdist is on
|
|
265
277
|
* When xdist is on or ``statistics`` can't be imported then ``--benchmark-disable`` is automatically activated (instead
|
|
@@ -268,30 +280,30 @@ Changelog
|
|
|
268
280
|
* Improved description for ``--benchmark-max-time``.
|
|
269
281
|
|
|
270
282
|
3.0.0b1 (2015-10-13)
|
|
271
|
-
|
|
283
|
+
---------------------
|
|
272
284
|
|
|
273
285
|
* Tests are sorted alphabetically in the results table.
|
|
274
286
|
* Failing to import ``statistics`` doesn't create hard failures anymore. Benchmarks are automatically skipped if import
|
|
275
287
|
failure occurs. This would happen on Python 3.2 (or earlier Python 3).
|
|
276
288
|
|
|
277
289
|
3.0.0a4 (2015-10-08)
|
|
278
|
-
|
|
290
|
+
---------------------
|
|
279
291
|
|
|
280
292
|
* Changed how failures to get commit info are handled: now they are soft failures. Previously it made the whole
|
|
281
293
|
test suite fail, just because you didn't have ``git/hg`` installed.
|
|
282
294
|
|
|
283
295
|
3.0.0a3 (2015-10-02)
|
|
284
|
-
|
|
296
|
+
---------------------
|
|
285
297
|
|
|
286
298
|
* Added progress indication when computing stats.
|
|
287
299
|
|
|
288
300
|
3.0.0a2 (2015-09-30)
|
|
289
|
-
|
|
301
|
+
---------------------
|
|
290
302
|
|
|
291
303
|
* Fixed accidental output capturing caused by capturemanager misuse.
|
|
292
304
|
|
|
293
305
|
3.0.0a1 (2015-09-13)
|
|
294
|
-
|
|
306
|
+
---------------------
|
|
295
307
|
|
|
296
308
|
* Added JSON report saving (the ``--benchmark-json`` command line arguments). Based on initial work from Dave Collins in
|
|
297
309
|
`#8 <https://github.com/ionelmc/pytest-benchmark/pull/8>`_.
|
|
@@ -326,8 +338,8 @@ Changelog
|
|
|
326
338
|
* Added ``pedantic mode`` via ``benchmark.pedantic()``. This mode disables calibration and allows a setup function.
|
|
327
339
|
|
|
328
340
|
|
|
329
|
-
|
|
330
|
-
|
|
341
|
+
v2.5.0 (2015-06-20)
|
|
342
|
+
-------------------
|
|
331
343
|
|
|
332
344
|
* Improved test suite a bit (not using ``cram`` anymore).
|
|
333
345
|
* Improved help text on the ``--benchmark-warmup`` option.
|
|
@@ -337,50 +349,50 @@ Changelog
|
|
|
337
349
|
* Fixed a bug where calibration would run forever.
|
|
338
350
|
* Disabled red/green coloring (it was kinda random) when there's a single test in the results table.
|
|
339
351
|
|
|
340
|
-
|
|
341
|
-
|
|
352
|
+
v2.4.1 (2015-03-16)
|
|
353
|
+
-------------------
|
|
342
354
|
|
|
343
355
|
* Fix regression, plugin was raising ``ValueError: no option named 'dist'`` when xdist wasn't installed.
|
|
344
356
|
|
|
345
|
-
|
|
346
|
-
|
|
357
|
+
v2.4.0 (2015-03-12)
|
|
358
|
+
-------------------
|
|
347
359
|
|
|
348
360
|
* Add a ``benchmark_weave`` experimental fixture.
|
|
349
361
|
* Fix internal failures when ``xdist`` plugin is active.
|
|
350
362
|
* Automatically disable benchmarks if ``xdist`` is active.
|
|
351
363
|
|
|
352
|
-
|
|
353
|
-
|
|
364
|
+
v2.3.0 (2014-12-27)
|
|
365
|
+
-------------------
|
|
354
366
|
|
|
355
367
|
* Moved the warmup in the calibration phase. Solves issues with benchmarking on PyPy.
|
|
356
368
|
|
|
357
369
|
Added a ``--benchmark-warmup-iterations`` option to fine-tune that.
|
|
358
370
|
|
|
359
|
-
|
|
360
|
-
|
|
371
|
+
v2.2.0 (2014-12-26)
|
|
372
|
+
-------------------
|
|
361
373
|
|
|
362
374
|
* Make the default rounds smaller (so that variance is more accurate).
|
|
363
375
|
* Show the defaults in the ``--help`` section.
|
|
364
376
|
|
|
365
|
-
|
|
366
|
-
|
|
377
|
+
v2.1.0 (2014-12-20)
|
|
378
|
+
-------------------
|
|
367
379
|
|
|
368
380
|
* Simplify the calibration code so that the round is smaller.
|
|
369
381
|
* Add diagnostic output for calibration code (``--benchmark-verbose``).
|
|
370
382
|
|
|
371
|
-
|
|
372
|
-
|
|
383
|
+
v2.0.0 (2014-12-19)
|
|
384
|
+
-------------------
|
|
373
385
|
|
|
374
386
|
* Replace the context-manager based API with a simple callback interface. **BACKWARDS INCOMPATIBLE**
|
|
375
387
|
* Implement timer calibration for precise measurements.
|
|
376
388
|
|
|
377
|
-
|
|
378
|
-
|
|
389
|
+
v1.0.0 (2014-12-15)
|
|
390
|
+
-------------------
|
|
379
391
|
|
|
380
392
|
* Use a precise default timer for PyPy.
|
|
381
393
|
|
|
382
|
-
|
|
383
|
-
|
|
394
|
+
v0.0.1 - v0.12.1 (2014-10-09 - 2014-12-15)
|
|
395
|
+
------------------------------------------
|
|
384
396
|
|
|
385
397
|
* README and styling fixes. Contributed by Marc Abramowitz in `#4 <https://github.com/ionelmc/pytest-benchmark/pull/4>`_.
|
|
386
|
-
* Lots of wild changes.
|
|
398
|
+
* Lots of wild changes and too many irrelevant releases to include.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-benchmark
|
|
3
|
-
Version: 5.2.
|
|
3
|
+
Version: 5.2.2
|
|
4
4
|
Summary: A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer.
|
|
5
5
|
Author-email: Ionel Cristian Mărieș <contact@ionelmc.ro>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -195,8 +195,20 @@ Credits
|
|
|
195
195
|
Changelog
|
|
196
196
|
=========
|
|
197
197
|
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
v5.2.2 (2025-11-07)
|
|
199
|
+
--------------------
|
|
200
|
+
|
|
201
|
+
* Fixed auto-disable to work with newer xdist (pytest-benchmark auto disables benchmarks if xdist is enabled by design).
|
|
202
|
+
Contributed by Thomas B. Brunner in `#294 <https://github.com/ionelmc/pytest-benchmark/pull/294>`_.
|
|
203
|
+
|
|
204
|
+
v5.2.1 (2025-11-04)
|
|
205
|
+
--------------------
|
|
206
|
+
|
|
207
|
+
* Add markers so pytest doesn't try to assert-rewrite the plugin internals
|
|
208
|
+
(fixes those ``pytest.PytestAssertRewriteWarning: Module already imported so cannot be rewritten; pytest_benchmark`` warnings).
|
|
209
|
+
|
|
210
|
+
v5.2.0 (2025-10-30)
|
|
211
|
+
-------------------
|
|
200
212
|
|
|
201
213
|
* Added support for a per-round ``teardown`` function to pedantic mode.
|
|
202
214
|
Contributed Patrick Winter by `#264 <https://github.com/ionelmc/pytest-benchmark/pull/264>`_.
|
|
@@ -217,19 +229,19 @@ Changelog
|
|
|
217
229
|
This is necessary because in some scenarios setting and unsetting the tracer too much will overflow an internal counter
|
|
218
230
|
(found to cause "OverflowError: events set too many times" at least on Python 3.13).
|
|
219
231
|
|
|
220
|
-
|
|
221
|
-
|
|
232
|
+
v5.1.0 (2024-10-30)
|
|
233
|
+
-------------------
|
|
222
234
|
|
|
223
235
|
* Fixed broken hooks handling on pytest 8.1 or later (the ``TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages'`` issue).
|
|
224
236
|
Unfortunately this sets the minimum supported pytest version to 8.1.
|
|
225
237
|
|
|
226
|
-
|
|
227
|
-
|
|
238
|
+
v5.0.1 (2024-10-30)
|
|
239
|
+
-------------------
|
|
228
240
|
|
|
229
241
|
* Fixed bad fixture check that broke down then `nbmake <https://pypi.org/project/nbmake/>`_ was enabled.
|
|
230
242
|
|
|
231
|
-
|
|
232
|
-
|
|
243
|
+
v5.0.0 (2024-10-29)
|
|
244
|
+
-------------------
|
|
233
245
|
|
|
234
246
|
* Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x).
|
|
235
247
|
* Fix generate parametrize tests benchmark csv report errors (issue `#268 <https://github.com/ionelmc/pytest-benchmark/issues/268>`_).
|
|
@@ -245,8 +257,8 @@ Changelog
|
|
|
245
257
|
- ``--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).
|
|
246
258
|
* Removed hidden dependency on `py.path <https://pypi.org/project/py/>`_ (replaced with pathlib).
|
|
247
259
|
|
|
248
|
-
|
|
249
|
-
|
|
260
|
+
v4.0.0 (2022-10-26)
|
|
261
|
+
-------------------
|
|
250
262
|
|
|
251
263
|
* Dropped support for legacy Pythons (2.7, 3.6 or older).
|
|
252
264
|
* Switched CI to GitHub Actions.
|
|
@@ -259,8 +271,8 @@ Changelog
|
|
|
259
271
|
Fixes `#205 <https://github.com/ionelmc/pytest-benchmark/issues/205>`_.
|
|
260
272
|
Contributed by Friedrich Delgado in `#207 <https://github.com/ionelmc/pytest-benchmark/pull/207>`_.
|
|
261
273
|
|
|
262
|
-
|
|
263
|
-
|
|
274
|
+
v3.4.1 (2021-04-17)
|
|
275
|
+
-------------------
|
|
264
276
|
|
|
265
277
|
* Republished with updated changelog.
|
|
266
278
|
|
|
@@ -268,8 +280,8 @@ Changelog
|
|
|
268
280
|
apparently... thus ``3.4.0`` was set in by accident.
|
|
269
281
|
|
|
270
282
|
|
|
271
|
-
|
|
272
|
-
|
|
283
|
+
v3.4.0 (2021-04-17)
|
|
284
|
+
-------------------
|
|
273
285
|
|
|
274
286
|
* Disable progress indication unless ``--benchmark-verbose`` is used.
|
|
275
287
|
Contributed by Dimitris Rozakis in `#149 <https://github.com/ionelmc/pytest-benchmark/pull/149>`_.
|
|
@@ -288,8 +300,8 @@ Changelog
|
|
|
288
300
|
Fixes `#199 <https://github.com/ionelmc/pytest-benchmark/issues/199>`_.
|
|
289
301
|
* ``PerformanceRegression`` exception no longer inherits ``pytest.UsageError`` (apparently a *final* class).
|
|
290
302
|
|
|
291
|
-
|
|
292
|
-
|
|
303
|
+
v3.2.3 (2020-01-10)
|
|
304
|
+
-------------------
|
|
293
305
|
|
|
294
306
|
* Fixed "already-imported" pytest warning. Contributed by Jonathan Simon Prates in
|
|
295
307
|
`#151 <https://github.com/ionelmc/pytest-benchmark/pull/151>`_.
|
|
@@ -297,13 +309,13 @@ Changelog
|
|
|
297
309
|
* Dropped Python 3.4 from the test suite and updated test deps.
|
|
298
310
|
* Fixed ``pytest_benchmark.utils.clonefunc`` to work on Python 3.8.
|
|
299
311
|
|
|
300
|
-
|
|
301
|
-
|
|
312
|
+
v3.2.2 (2017-01-12)
|
|
313
|
+
-------------------
|
|
302
314
|
|
|
303
315
|
* Added support for pytest items without funcargs. Fixes interoperability with other pytest plugins like pytest-flake8.
|
|
304
316
|
|
|
305
|
-
|
|
306
|
-
|
|
317
|
+
v3.2.1 (2017-01-10)
|
|
318
|
+
-------------------
|
|
307
319
|
|
|
308
320
|
* Updated changelog entries for 3.2.0. I made the release for pytest-cov on the same day and thought I updated the
|
|
309
321
|
changelogs for both plugins. Alas, I only updated pytest-cov.
|
|
@@ -311,8 +323,8 @@ Changelog
|
|
|
311
323
|
* Fixed couple CI/test issues.
|
|
312
324
|
* Fixed broken ``pytest_benchmark.__version__``.
|
|
313
325
|
|
|
314
|
-
|
|
315
|
-
|
|
326
|
+
v3.2.0 (2017-01-07)
|
|
327
|
+
-------------------
|
|
316
328
|
|
|
317
329
|
* Added support for simple ``trial`` x-axis histogram label. Contributed by Ken Crowell in
|
|
318
330
|
`#95 <https://github.com/ionelmc/pytest-benchmark/pull/95>`_).
|
|
@@ -347,16 +359,16 @@ Changelog
|
|
|
347
359
|
`#136 <https://github.com/ionelmc/pytest-benchmark/pull/136>`_ and
|
|
348
360
|
`#138 <https://github.com/ionelmc/pytest-benchmark/pull/138>`_.
|
|
349
361
|
|
|
350
|
-
|
|
351
|
-
|
|
362
|
+
v3.1.1 (2017-07-26)
|
|
363
|
+
-------------------
|
|
352
364
|
|
|
353
365
|
* Fixed loading data from old json files (missing ``ops`` field, see
|
|
354
366
|
`#81 <https://github.com/ionelmc/pytest-benchmark/issues/81>`_).
|
|
355
367
|
* Fixed regression on broken SCM (see
|
|
356
368
|
`#82 <https://github.com/ionelmc/pytest-benchmark/issues/82>`_).
|
|
357
369
|
|
|
358
|
-
|
|
359
|
-
|
|
370
|
+
v3.1.0 (2017-07-21)
|
|
371
|
+
-------------------
|
|
360
372
|
|
|
361
373
|
* Added "operations per second" (``ops`` field in ``Stats``) metric --
|
|
362
374
|
shows the call rate of code being tested. Contributed by Alexey Popravka in
|
|
@@ -374,7 +386,7 @@ Changelog
|
|
|
374
386
|
* Remove ``git`` and ``hg`` as system dependencies when guessing the project name.
|
|
375
387
|
|
|
376
388
|
3.1.0a2 (2017-03-27)
|
|
377
|
-
|
|
389
|
+
---------------------
|
|
378
390
|
|
|
379
391
|
* ``machine_info`` now contains more detailed information about the CPU, in
|
|
380
392
|
particular the exact model. Contributed by Antonio Cuni in `#61 <https://github.com/ionelmc/pytest-benchmark/pull/61>`_.
|
|
@@ -393,7 +405,7 @@ Changelog
|
|
|
393
405
|
* Remove the project name from the autosave name. This will get the old brief naming from 3.0 back.
|
|
394
406
|
|
|
395
407
|
3.1.0a1 (2016-10-29)
|
|
396
|
-
|
|
408
|
+
---------------------
|
|
397
409
|
|
|
398
410
|
* Added ``--benchmark-columns`` command line option. It selects what columns are displayed in the result table. Contributed by
|
|
399
411
|
Antonio Cuni in `#34 <https://github.com/ionelmc/pytest-benchmark/pull/34>`_.
|
|
@@ -420,8 +432,8 @@ Changelog
|
|
|
420
432
|
* Changed ``--benchmark-storage`` so it now allows elasticsearch storage. It allows to store data to elasticsearch instead to
|
|
421
433
|
json files. Contributed by Petr Šebek in `#58 <https://github.com/ionelmc/pytest-benchmark/pull/58>`_.
|
|
422
434
|
|
|
423
|
-
|
|
424
|
-
|
|
435
|
+
v3.0.0 (2015-11-08)
|
|
436
|
+
-------------------
|
|
425
437
|
|
|
426
438
|
* Improved ``--help`` text for ``--benchmark-histogram``, ``--benchmark-save`` and ``--benchmark-autosave``.
|
|
427
439
|
* Benchmarks that raised exceptions during test now have special highlighting in result table (red background).
|
|
@@ -435,7 +447,7 @@ Changelog
|
|
|
435
447
|
* Not using the benchmark fixture (but requiring it) will issue a warning (``WBENCHMARK-U1``).
|
|
436
448
|
|
|
437
449
|
3.0.0rc1 (2015-10-25)
|
|
438
|
-
|
|
450
|
+
----------------------
|
|
439
451
|
|
|
440
452
|
* Changed ``--benchmark-warmup`` to take optional value and automatically activate on PyPy (default value is ``auto``).
|
|
441
453
|
**MAY BE BACKWARDS INCOMPATIBLE**
|
|
@@ -443,7 +455,7 @@ Changelog
|
|
|
443
455
|
the file).
|
|
444
456
|
|
|
445
457
|
3.0.0b3 (2015-10-22)
|
|
446
|
-
|
|
458
|
+
----------------------
|
|
447
459
|
|
|
448
460
|
* Changed how comparison is displayed in the result table. Now previous runs are shown as normal runs and names get a
|
|
449
461
|
special suffix indicating the origin. Eg: "test_foobar (NOW)" or "test_foobar (0123)".
|
|
@@ -452,7 +464,7 @@ Changelog
|
|
|
452
464
|
* Moved the display of default options in the header section.
|
|
453
465
|
|
|
454
466
|
3.0.0b2 (2015-10-17)
|
|
455
|
-
|
|
467
|
+
----------------------
|
|
456
468
|
|
|
457
469
|
* Add a ``--benchmark-disable`` option. It's automatically activated when xdist is on
|
|
458
470
|
* When xdist is on or ``statistics`` can't be imported then ``--benchmark-disable`` is automatically activated (instead
|
|
@@ -461,30 +473,30 @@ Changelog
|
|
|
461
473
|
* Improved description for ``--benchmark-max-time``.
|
|
462
474
|
|
|
463
475
|
3.0.0b1 (2015-10-13)
|
|
464
|
-
|
|
476
|
+
---------------------
|
|
465
477
|
|
|
466
478
|
* Tests are sorted alphabetically in the results table.
|
|
467
479
|
* Failing to import ``statistics`` doesn't create hard failures anymore. Benchmarks are automatically skipped if import
|
|
468
480
|
failure occurs. This would happen on Python 3.2 (or earlier Python 3).
|
|
469
481
|
|
|
470
482
|
3.0.0a4 (2015-10-08)
|
|
471
|
-
|
|
483
|
+
---------------------
|
|
472
484
|
|
|
473
485
|
* Changed how failures to get commit info are handled: now they are soft failures. Previously it made the whole
|
|
474
486
|
test suite fail, just because you didn't have ``git/hg`` installed.
|
|
475
487
|
|
|
476
488
|
3.0.0a3 (2015-10-02)
|
|
477
|
-
|
|
489
|
+
---------------------
|
|
478
490
|
|
|
479
491
|
* Added progress indication when computing stats.
|
|
480
492
|
|
|
481
493
|
3.0.0a2 (2015-09-30)
|
|
482
|
-
|
|
494
|
+
---------------------
|
|
483
495
|
|
|
484
496
|
* Fixed accidental output capturing caused by capturemanager misuse.
|
|
485
497
|
|
|
486
498
|
3.0.0a1 (2015-09-13)
|
|
487
|
-
|
|
499
|
+
---------------------
|
|
488
500
|
|
|
489
501
|
* Added JSON report saving (the ``--benchmark-json`` command line arguments). Based on initial work from Dave Collins in
|
|
490
502
|
`#8 <https://github.com/ionelmc/pytest-benchmark/pull/8>`_.
|
|
@@ -519,8 +531,8 @@ Changelog
|
|
|
519
531
|
* Added ``pedantic mode`` via ``benchmark.pedantic()``. This mode disables calibration and allows a setup function.
|
|
520
532
|
|
|
521
533
|
|
|
522
|
-
|
|
523
|
-
|
|
534
|
+
v2.5.0 (2015-06-20)
|
|
535
|
+
-------------------
|
|
524
536
|
|
|
525
537
|
* Improved test suite a bit (not using ``cram`` anymore).
|
|
526
538
|
* Improved help text on the ``--benchmark-warmup`` option.
|
|
@@ -530,50 +542,50 @@ Changelog
|
|
|
530
542
|
* Fixed a bug where calibration would run forever.
|
|
531
543
|
* Disabled red/green coloring (it was kinda random) when there's a single test in the results table.
|
|
532
544
|
|
|
533
|
-
|
|
534
|
-
|
|
545
|
+
v2.4.1 (2015-03-16)
|
|
546
|
+
-------------------
|
|
535
547
|
|
|
536
548
|
* Fix regression, plugin was raising ``ValueError: no option named 'dist'`` when xdist wasn't installed.
|
|
537
549
|
|
|
538
|
-
|
|
539
|
-
|
|
550
|
+
v2.4.0 (2015-03-12)
|
|
551
|
+
-------------------
|
|
540
552
|
|
|
541
553
|
* Add a ``benchmark_weave`` experimental fixture.
|
|
542
554
|
* Fix internal failures when ``xdist`` plugin is active.
|
|
543
555
|
* Automatically disable benchmarks if ``xdist`` is active.
|
|
544
556
|
|
|
545
|
-
|
|
546
|
-
|
|
557
|
+
v2.3.0 (2014-12-27)
|
|
558
|
+
-------------------
|
|
547
559
|
|
|
548
560
|
* Moved the warmup in the calibration phase. Solves issues with benchmarking on PyPy.
|
|
549
561
|
|
|
550
562
|
Added a ``--benchmark-warmup-iterations`` option to fine-tune that.
|
|
551
563
|
|
|
552
|
-
|
|
553
|
-
|
|
564
|
+
v2.2.0 (2014-12-26)
|
|
565
|
+
-------------------
|
|
554
566
|
|
|
555
567
|
* Make the default rounds smaller (so that variance is more accurate).
|
|
556
568
|
* Show the defaults in the ``--help`` section.
|
|
557
569
|
|
|
558
|
-
|
|
559
|
-
|
|
570
|
+
v2.1.0 (2014-12-20)
|
|
571
|
+
-------------------
|
|
560
572
|
|
|
561
573
|
* Simplify the calibration code so that the round is smaller.
|
|
562
574
|
* Add diagnostic output for calibration code (``--benchmark-verbose``).
|
|
563
575
|
|
|
564
|
-
|
|
565
|
-
|
|
576
|
+
v2.0.0 (2014-12-19)
|
|
577
|
+
-------------------
|
|
566
578
|
|
|
567
579
|
* Replace the context-manager based API with a simple callback interface. **BACKWARDS INCOMPATIBLE**
|
|
568
580
|
* Implement timer calibration for precise measurements.
|
|
569
581
|
|
|
570
|
-
|
|
571
|
-
|
|
582
|
+
v1.0.0 (2014-12-15)
|
|
583
|
+
-------------------
|
|
572
584
|
|
|
573
585
|
* Use a precise default timer for PyPy.
|
|
574
586
|
|
|
575
|
-
|
|
576
|
-
|
|
587
|
+
v0.0.1 - v0.12.1 (2014-10-09 - 2014-12-15)
|
|
588
|
+
------------------------------------------
|
|
577
589
|
|
|
578
590
|
* README and styling fixes. Contributed by Marc Abramowitz in `#4 <https://github.com/ionelmc/pytest-benchmark/pull/4>`_.
|
|
579
|
-
* Lots of wild changes.
|
|
591
|
+
* Lots of wild changes and too many irrelevant releases to include.
|
|
@@ -40,9 +40,9 @@ Overview
|
|
|
40
40
|
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pytest-benchmark.svg
|
|
41
41
|
:alt: Supported implementations
|
|
42
42
|
:target: https://pypi.org/project/pytest-benchmark
|
|
43
|
-
.. |commits-since| image:: https://img.shields.io/github/commits-since/ionelmc/pytest-benchmark/v5.2.
|
|
43
|
+
.. |commits-since| image:: https://img.shields.io/github/commits-since/ionelmc/pytest-benchmark/v5.2.2.svg
|
|
44
44
|
:alt: Commits since latest release
|
|
45
|
-
:target: https://github.com/ionelmc/pytest-benchmark/compare/v5.2.
|
|
45
|
+
:target: https://github.com/ionelmc/pytest-benchmark/compare/v5.2.2...master
|
|
46
46
|
|
|
47
47
|
.. end-badges
|
|
48
48
|
|