pytest-benchmark 5.2.1__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.1 → pytest_benchmark-5.2.2}/.bumpversion.cfg +1 -1
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/.cookiecutterrc +1 -1
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/.pre-commit-config.yaml +1 -1
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/AUTHORS.rst +1 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/CHANGELOG.rst +66 -60
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/PKG-INFO +67 -61
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/README.rst +2 -2
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/conf.py +1 -1
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/usage.rst +49 -41
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/pyproject.toml +1 -1
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/__init__.py +1 -1
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/session.py +4 -1
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/PKG-INFO +67 -61
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/.coveragerc +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/.editorconfig +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/.github/workflows/github-actions.yml +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/.readthedocs.yml +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/.taplo.toml +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/CONTRIBUTING.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/LICENSE +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/MANIFEST.in +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/ci/bootstrap.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/ci/requirements.txt +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/ci/templates/.github/workflows/github-actions.yml +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/authors.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/calibration.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/changelog.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/comparing.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/contributing.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/faq.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/glossary.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/hooks.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/index.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/installation.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/measurement-issues.png +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/pedantic.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/requirements.txt +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/sample.svg +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/screenshot-compare.png +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/screenshot-histogram.png +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/screenshot.png +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/docs/spelling_wordlist.txt +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/pytest.ini +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/setup.cfg +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/setup.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/__main__.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/cli.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/compat.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/csv.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/fixture.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/histogram.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/hookspec.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/logger.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/plugin.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/py.typed +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/stats.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/storage/__init__.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/storage/elasticsearch.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/storage/file.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/table.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/timers.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark/utils.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/SOURCES.txt +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/dependency_links.txt +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/entry_points.txt +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/not-zip-safe +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/requires.txt +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/src/pytest_benchmark.egg-info/top_level.txt +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_benchmark.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_calibration.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_cli.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_doctest.rst +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_elasticsearch_storage.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_nbmake.ipynb +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_normal.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_pedantic.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_sample.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_skip.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_stats.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0001_b87b9aae14ff14a7887a6bbaa9731b9a8760555d_20150814_190343_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0002_b87b9aae14ff14a7887a6bbaa9731b9a8760555d_20150814_190348_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0003_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030157_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0004_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030202_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0005_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030207_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0006_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030213_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0007_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030218_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0008_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030223_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0009_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030228_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0010_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030233_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0011_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030238_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0012_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030243_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0013_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030248_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0014_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030253_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0015_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030259_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0016_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030304_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0017_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030310_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0018_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030315_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0019_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030320_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0020_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030325_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0021_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030330_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0022_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030335_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0023_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030340_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0024_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030346_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0025_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030351_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0026_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030356_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0027_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030402_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0028_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030408_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0029_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030413_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage/0030_5b78858eb718649a31fb93d8dc96ca2cee41a4cd_20150815_030419_uncommitted-changes.json +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_storage.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_utils.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_with_testcase.py +0 -0
- {pytest_benchmark-5.2.1 → pytest_benchmark-5.2.2}/tests/test_with_weaver.py +0 -0
- {pytest_benchmark-5.2.1 → 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,14 +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
|
+
--------------------
|
|
7
13
|
|
|
8
14
|
* Add markers so pytest doesn't try to assert-rewrite the plugin internals
|
|
9
15
|
(fixes those ``pytest.PytestAssertRewriteWarning: Module already imported so cannot be rewritten; pytest_benchmark`` warnings).
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
v5.2.0 (2025-10-30)
|
|
18
|
+
-------------------
|
|
13
19
|
|
|
14
20
|
* Added support for a per-round ``teardown`` function to pedantic mode.
|
|
15
21
|
Contributed Patrick Winter by `#264 <https://github.com/ionelmc/pytest-benchmark/pull/264>`_.
|
|
@@ -18,7 +24,7 @@ Changelog
|
|
|
18
24
|
* Fixed deprecated hook examples in docstrings.
|
|
19
25
|
Contributed by Ali-Akber Saifee in `#284 <https://github.com/ionelmc/pytest-benchmark/pull/284>`_.
|
|
20
26
|
* Changed ``--benchmark-compare-fail`` to accept percentages higher than 100%.
|
|
21
|
-
Contributed by Ben Avrahami in `#
|
|
27
|
+
Contributed by Ben Avrahami in `#280 <https://github.com/ionelmc/pytest-benchmark/pull/280>`_.
|
|
22
28
|
* Added minimal typing support.
|
|
23
29
|
Contributed by Sorin Sbarnea in `#290 <https://github.com/ionelmc/pytest-benchmark/pull/290>`_.
|
|
24
30
|
* Fixed support for Python 3.9.
|
|
@@ -30,19 +36,19 @@ Changelog
|
|
|
30
36
|
This is necessary because in some scenarios setting and unsetting the tracer too much will overflow an internal counter
|
|
31
37
|
(found to cause "OverflowError: events set too many times" at least on Python 3.13).
|
|
32
38
|
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
v5.1.0 (2024-10-30)
|
|
40
|
+
-------------------
|
|
35
41
|
|
|
36
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).
|
|
37
43
|
Unfortunately this sets the minimum supported pytest version to 8.1.
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
45
|
+
v5.0.1 (2024-10-30)
|
|
46
|
+
-------------------
|
|
41
47
|
|
|
42
48
|
* Fixed bad fixture check that broke down then `nbmake <https://pypi.org/project/nbmake/>`_ was enabled.
|
|
43
49
|
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
v5.0.0 (2024-10-29)
|
|
51
|
+
-------------------
|
|
46
52
|
|
|
47
53
|
* Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x).
|
|
48
54
|
* Fix generate parametrize tests benchmark csv report errors (issue `#268 <https://github.com/ionelmc/pytest-benchmark/issues/268>`_).
|
|
@@ -58,8 +64,8 @@ Changelog
|
|
|
58
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).
|
|
59
65
|
* Removed hidden dependency on `py.path <https://pypi.org/project/py/>`_ (replaced with pathlib).
|
|
60
66
|
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
v4.0.0 (2022-10-26)
|
|
68
|
+
-------------------
|
|
63
69
|
|
|
64
70
|
* Dropped support for legacy Pythons (2.7, 3.6 or older).
|
|
65
71
|
* Switched CI to GitHub Actions.
|
|
@@ -72,8 +78,8 @@ Changelog
|
|
|
72
78
|
Fixes `#205 <https://github.com/ionelmc/pytest-benchmark/issues/205>`_.
|
|
73
79
|
Contributed by Friedrich Delgado in `#207 <https://github.com/ionelmc/pytest-benchmark/pull/207>`_.
|
|
74
80
|
|
|
75
|
-
|
|
76
|
-
|
|
81
|
+
v3.4.1 (2021-04-17)
|
|
82
|
+
-------------------
|
|
77
83
|
|
|
78
84
|
* Republished with updated changelog.
|
|
79
85
|
|
|
@@ -81,8 +87,8 @@ Changelog
|
|
|
81
87
|
apparently... thus ``3.4.0`` was set in by accident.
|
|
82
88
|
|
|
83
89
|
|
|
84
|
-
|
|
85
|
-
|
|
90
|
+
v3.4.0 (2021-04-17)
|
|
91
|
+
-------------------
|
|
86
92
|
|
|
87
93
|
* Disable progress indication unless ``--benchmark-verbose`` is used.
|
|
88
94
|
Contributed by Dimitris Rozakis in `#149 <https://github.com/ionelmc/pytest-benchmark/pull/149>`_.
|
|
@@ -101,8 +107,8 @@ Changelog
|
|
|
101
107
|
Fixes `#199 <https://github.com/ionelmc/pytest-benchmark/issues/199>`_.
|
|
102
108
|
* ``PerformanceRegression`` exception no longer inherits ``pytest.UsageError`` (apparently a *final* class).
|
|
103
109
|
|
|
104
|
-
|
|
105
|
-
|
|
110
|
+
v3.2.3 (2020-01-10)
|
|
111
|
+
-------------------
|
|
106
112
|
|
|
107
113
|
* Fixed "already-imported" pytest warning. Contributed by Jonathan Simon Prates in
|
|
108
114
|
`#151 <https://github.com/ionelmc/pytest-benchmark/pull/151>`_.
|
|
@@ -110,13 +116,13 @@ Changelog
|
|
|
110
116
|
* Dropped Python 3.4 from the test suite and updated test deps.
|
|
111
117
|
* Fixed ``pytest_benchmark.utils.clonefunc`` to work on Python 3.8.
|
|
112
118
|
|
|
113
|
-
|
|
114
|
-
|
|
119
|
+
v3.2.2 (2017-01-12)
|
|
120
|
+
-------------------
|
|
115
121
|
|
|
116
122
|
* Added support for pytest items without funcargs. Fixes interoperability with other pytest plugins like pytest-flake8.
|
|
117
123
|
|
|
118
|
-
|
|
119
|
-
|
|
124
|
+
v3.2.1 (2017-01-10)
|
|
125
|
+
-------------------
|
|
120
126
|
|
|
121
127
|
* Updated changelog entries for 3.2.0. I made the release for pytest-cov on the same day and thought I updated the
|
|
122
128
|
changelogs for both plugins. Alas, I only updated pytest-cov.
|
|
@@ -124,8 +130,8 @@ Changelog
|
|
|
124
130
|
* Fixed couple CI/test issues.
|
|
125
131
|
* Fixed broken ``pytest_benchmark.__version__``.
|
|
126
132
|
|
|
127
|
-
|
|
128
|
-
|
|
133
|
+
v3.2.0 (2017-01-07)
|
|
134
|
+
-------------------
|
|
129
135
|
|
|
130
136
|
* Added support for simple ``trial`` x-axis histogram label. Contributed by Ken Crowell in
|
|
131
137
|
`#95 <https://github.com/ionelmc/pytest-benchmark/pull/95>`_).
|
|
@@ -160,16 +166,16 @@ Changelog
|
|
|
160
166
|
`#136 <https://github.com/ionelmc/pytest-benchmark/pull/136>`_ and
|
|
161
167
|
`#138 <https://github.com/ionelmc/pytest-benchmark/pull/138>`_.
|
|
162
168
|
|
|
163
|
-
|
|
164
|
-
|
|
169
|
+
v3.1.1 (2017-07-26)
|
|
170
|
+
-------------------
|
|
165
171
|
|
|
166
172
|
* Fixed loading data from old json files (missing ``ops`` field, see
|
|
167
173
|
`#81 <https://github.com/ionelmc/pytest-benchmark/issues/81>`_).
|
|
168
174
|
* Fixed regression on broken SCM (see
|
|
169
175
|
`#82 <https://github.com/ionelmc/pytest-benchmark/issues/82>`_).
|
|
170
176
|
|
|
171
|
-
|
|
172
|
-
|
|
177
|
+
v3.1.0 (2017-07-21)
|
|
178
|
+
-------------------
|
|
173
179
|
|
|
174
180
|
* Added "operations per second" (``ops`` field in ``Stats``) metric --
|
|
175
181
|
shows the call rate of code being tested. Contributed by Alexey Popravka in
|
|
@@ -187,7 +193,7 @@ Changelog
|
|
|
187
193
|
* Remove ``git`` and ``hg`` as system dependencies when guessing the project name.
|
|
188
194
|
|
|
189
195
|
3.1.0a2 (2017-03-27)
|
|
190
|
-
|
|
196
|
+
---------------------
|
|
191
197
|
|
|
192
198
|
* ``machine_info`` now contains more detailed information about the CPU, in
|
|
193
199
|
particular the exact model. Contributed by Antonio Cuni in `#61 <https://github.com/ionelmc/pytest-benchmark/pull/61>`_.
|
|
@@ -206,7 +212,7 @@ Changelog
|
|
|
206
212
|
* Remove the project name from the autosave name. This will get the old brief naming from 3.0 back.
|
|
207
213
|
|
|
208
214
|
3.1.0a1 (2016-10-29)
|
|
209
|
-
|
|
215
|
+
---------------------
|
|
210
216
|
|
|
211
217
|
* Added ``--benchmark-columns`` command line option. It selects what columns are displayed in the result table. Contributed by
|
|
212
218
|
Antonio Cuni in `#34 <https://github.com/ionelmc/pytest-benchmark/pull/34>`_.
|
|
@@ -233,8 +239,8 @@ Changelog
|
|
|
233
239
|
* Changed ``--benchmark-storage`` so it now allows elasticsearch storage. It allows to store data to elasticsearch instead to
|
|
234
240
|
json files. Contributed by Petr Šebek in `#58 <https://github.com/ionelmc/pytest-benchmark/pull/58>`_.
|
|
235
241
|
|
|
236
|
-
|
|
237
|
-
|
|
242
|
+
v3.0.0 (2015-11-08)
|
|
243
|
+
-------------------
|
|
238
244
|
|
|
239
245
|
* Improved ``--help`` text for ``--benchmark-histogram``, ``--benchmark-save`` and ``--benchmark-autosave``.
|
|
240
246
|
* Benchmarks that raised exceptions during test now have special highlighting in result table (red background).
|
|
@@ -248,7 +254,7 @@ Changelog
|
|
|
248
254
|
* Not using the benchmark fixture (but requiring it) will issue a warning (``WBENCHMARK-U1``).
|
|
249
255
|
|
|
250
256
|
3.0.0rc1 (2015-10-25)
|
|
251
|
-
|
|
257
|
+
----------------------
|
|
252
258
|
|
|
253
259
|
* Changed ``--benchmark-warmup`` to take optional value and automatically activate on PyPy (default value is ``auto``).
|
|
254
260
|
**MAY BE BACKWARDS INCOMPATIBLE**
|
|
@@ -256,7 +262,7 @@ Changelog
|
|
|
256
262
|
the file).
|
|
257
263
|
|
|
258
264
|
3.0.0b3 (2015-10-22)
|
|
259
|
-
|
|
265
|
+
----------------------
|
|
260
266
|
|
|
261
267
|
* Changed how comparison is displayed in the result table. Now previous runs are shown as normal runs and names get a
|
|
262
268
|
special suffix indicating the origin. Eg: "test_foobar (NOW)" or "test_foobar (0123)".
|
|
@@ -265,7 +271,7 @@ Changelog
|
|
|
265
271
|
* Moved the display of default options in the header section.
|
|
266
272
|
|
|
267
273
|
3.0.0b2 (2015-10-17)
|
|
268
|
-
|
|
274
|
+
----------------------
|
|
269
275
|
|
|
270
276
|
* Add a ``--benchmark-disable`` option. It's automatically activated when xdist is on
|
|
271
277
|
* When xdist is on or ``statistics`` can't be imported then ``--benchmark-disable`` is automatically activated (instead
|
|
@@ -274,30 +280,30 @@ Changelog
|
|
|
274
280
|
* Improved description for ``--benchmark-max-time``.
|
|
275
281
|
|
|
276
282
|
3.0.0b1 (2015-10-13)
|
|
277
|
-
|
|
283
|
+
---------------------
|
|
278
284
|
|
|
279
285
|
* Tests are sorted alphabetically in the results table.
|
|
280
286
|
* Failing to import ``statistics`` doesn't create hard failures anymore. Benchmarks are automatically skipped if import
|
|
281
287
|
failure occurs. This would happen on Python 3.2 (or earlier Python 3).
|
|
282
288
|
|
|
283
289
|
3.0.0a4 (2015-10-08)
|
|
284
|
-
|
|
290
|
+
---------------------
|
|
285
291
|
|
|
286
292
|
* Changed how failures to get commit info are handled: now they are soft failures. Previously it made the whole
|
|
287
293
|
test suite fail, just because you didn't have ``git/hg`` installed.
|
|
288
294
|
|
|
289
295
|
3.0.0a3 (2015-10-02)
|
|
290
|
-
|
|
296
|
+
---------------------
|
|
291
297
|
|
|
292
298
|
* Added progress indication when computing stats.
|
|
293
299
|
|
|
294
300
|
3.0.0a2 (2015-09-30)
|
|
295
|
-
|
|
301
|
+
---------------------
|
|
296
302
|
|
|
297
303
|
* Fixed accidental output capturing caused by capturemanager misuse.
|
|
298
304
|
|
|
299
305
|
3.0.0a1 (2015-09-13)
|
|
300
|
-
|
|
306
|
+
---------------------
|
|
301
307
|
|
|
302
308
|
* Added JSON report saving (the ``--benchmark-json`` command line arguments). Based on initial work from Dave Collins in
|
|
303
309
|
`#8 <https://github.com/ionelmc/pytest-benchmark/pull/8>`_.
|
|
@@ -332,8 +338,8 @@ Changelog
|
|
|
332
338
|
* Added ``pedantic mode`` via ``benchmark.pedantic()``. This mode disables calibration and allows a setup function.
|
|
333
339
|
|
|
334
340
|
|
|
335
|
-
|
|
336
|
-
|
|
341
|
+
v2.5.0 (2015-06-20)
|
|
342
|
+
-------------------
|
|
337
343
|
|
|
338
344
|
* Improved test suite a bit (not using ``cram`` anymore).
|
|
339
345
|
* Improved help text on the ``--benchmark-warmup`` option.
|
|
@@ -343,50 +349,50 @@ Changelog
|
|
|
343
349
|
* Fixed a bug where calibration would run forever.
|
|
344
350
|
* Disabled red/green coloring (it was kinda random) when there's a single test in the results table.
|
|
345
351
|
|
|
346
|
-
|
|
347
|
-
|
|
352
|
+
v2.4.1 (2015-03-16)
|
|
353
|
+
-------------------
|
|
348
354
|
|
|
349
355
|
* Fix regression, plugin was raising ``ValueError: no option named 'dist'`` when xdist wasn't installed.
|
|
350
356
|
|
|
351
|
-
|
|
352
|
-
|
|
357
|
+
v2.4.0 (2015-03-12)
|
|
358
|
+
-------------------
|
|
353
359
|
|
|
354
360
|
* Add a ``benchmark_weave`` experimental fixture.
|
|
355
361
|
* Fix internal failures when ``xdist`` plugin is active.
|
|
356
362
|
* Automatically disable benchmarks if ``xdist`` is active.
|
|
357
363
|
|
|
358
|
-
|
|
359
|
-
|
|
364
|
+
v2.3.0 (2014-12-27)
|
|
365
|
+
-------------------
|
|
360
366
|
|
|
361
367
|
* Moved the warmup in the calibration phase. Solves issues with benchmarking on PyPy.
|
|
362
368
|
|
|
363
369
|
Added a ``--benchmark-warmup-iterations`` option to fine-tune that.
|
|
364
370
|
|
|
365
|
-
|
|
366
|
-
|
|
371
|
+
v2.2.0 (2014-12-26)
|
|
372
|
+
-------------------
|
|
367
373
|
|
|
368
374
|
* Make the default rounds smaller (so that variance is more accurate).
|
|
369
375
|
* Show the defaults in the ``--help`` section.
|
|
370
376
|
|
|
371
|
-
|
|
372
|
-
|
|
377
|
+
v2.1.0 (2014-12-20)
|
|
378
|
+
-------------------
|
|
373
379
|
|
|
374
380
|
* Simplify the calibration code so that the round is smaller.
|
|
375
381
|
* Add diagnostic output for calibration code (``--benchmark-verbose``).
|
|
376
382
|
|
|
377
|
-
|
|
378
|
-
|
|
383
|
+
v2.0.0 (2014-12-19)
|
|
384
|
+
-------------------
|
|
379
385
|
|
|
380
386
|
* Replace the context-manager based API with a simple callback interface. **BACKWARDS INCOMPATIBLE**
|
|
381
387
|
* Implement timer calibration for precise measurements.
|
|
382
388
|
|
|
383
|
-
|
|
384
|
-
|
|
389
|
+
v1.0.0 (2014-12-15)
|
|
390
|
+
-------------------
|
|
385
391
|
|
|
386
392
|
* Use a precise default timer for PyPy.
|
|
387
393
|
|
|
388
|
-
|
|
389
|
-
|
|
394
|
+
v0.0.1 - v0.12.1 (2014-10-09 - 2014-12-15)
|
|
395
|
+
------------------------------------------
|
|
390
396
|
|
|
391
397
|
* README and styling fixes. Contributed by Marc Abramowitz in `#4 <https://github.com/ionelmc/pytest-benchmark/pull/4>`_.
|
|
392
|
-
* Lots of wild changes.
|
|
398
|
+
* Lots of wild changes and too many irrelevant releases to include.
|