You are here: Home / LBN / Up2date / CI/CD / BastionLinux 36 / python3-pytest-perf-0.14.0-1.lbn36.noarch

python3-pytest-perf-0.14.0-1.lbn36.noarch

Package Attributes
RPM  python3-pytest-perf-0.14.0-1.lbn36.noarch.rpm Architecture  noarch Size  24535 Created  2024/04/02 10:53:47 UTC
Package Specification
Summary pytest-perf
Group Unspecified
License ZPL
Home Page https://pypi.org/project/pytest-perf
Description

Run performance tests against the mainline code.

Usage 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.

Design pytest-perf works by creating two installs, the control and the experiment, and measuring the performance of some python code against each. Under the hood, it uses pip-run to install from the upstream main branch (e.g. https:/github.com/jaraco/pytest-perf) for the control and from . for the experiment. It then runs each of the experiments against each of the enviroments.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadIsZstd)  
python3.10dist(pip-run)  
rpmlib(FileDigests)  
Provides
python-pytest-perf
python3-pytest-perf
python3.10-pytest-perf
python3.10dist(pytest-perf)
python3dist(pytest-perf)
Obsoletes
python-pytest-perf

Document Actions