pytest-perf
Project Links
Meta
Author: Jason R. Coombs
Requires Python: >=3.7
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Programming Language
- Python :: 3
- Python :: 3 :: Only
Run performance tests against the mainline code.
To use it, include pytest-perf in the test dependencies for your project, then create some Python module in your package. The plugin will include any module that contains the text “pytest_perf” and will run performance tests on each function containing “perf” in the name.
Tests don’t execute the module directly, but instead parse out the code of the function in two parts, the warmup and the test, separated by a “# end warmup” comment, and then passes those to the timeit module.
See the exercises.py module for example usage.
May 20, 2024
0.15.0
Jan 28, 2024
0.14.0
Jun 02, 2023
0.13.1
Jun 02, 2023
0.13.0
Jun 23, 2022
0.12.1
Feb 05, 2022
0.12.0
Jan 08, 2022
0.11.0
Jun 27, 2021
0.10.1
Jun 27, 2021
0.10.0
Jun 26, 2021
0.9.2
Jun 26, 2021
0.9.1
Jun 26, 2021
0.9.0
Jun 26, 2021
0.8.0
Jun 26, 2021
0.7.0
Jun 26, 2021
0.6.2
Jun 26, 2021
0.6.1
Jun 26, 2021
0.6.0
Jun 25, 2021
0.5.1
Jun 25, 2021
0.5.0
Jun 21, 2021
0.4.0
Jun 20, 2021
0.3.0
Jun 20, 2021
0.2.0
May 29, 2021
0.1.0
Wheel compatibility matrix
Files in release
Extras:
Dependencies:
(>=8.5)
pip-run
(>=4.1)
tempora