pip install pytest-benchmark==3.4.1

A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer.

Source
Among top 1% packages on PyPI.
Over 1.3M downloads in the last 90 days.

Commonly used with pytest-benchmark

Based on how often these packages appear together in public requirements.txt files on GitHub.

pytest-mock

Thin-wrapper around the mock package for easier use with pytest

pytest-profiling

Profiling plugin for py.test

pytest

pytest: simple powerful testing with Python

pytest-runner

Invoke py.test as distutils command with dependency resolution

pytest-flakes

pytest plugin to check source code with pyflakes

pytest-cov

Pytest plugin for measuring coverage.

pytest-timeout

py.test plugin to abort hanging tests

pytest-travis-fold

Folds captured output sections in Travis CI build log

pytest-xdist

pytest xdist plugin for distributed testing and loop-on-failing modes

pytest-sugar

pytest-sugar is a plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly).

pytest-pythonpath

pytest plugin for adding to the PYTHONPATH from command line or configs.

pytest-capturelog

py.test plugin to capture log messages

pytest-asyncio

Pytest support for asyncio.

hypothesis

A library for property-based testing

pytest-pep8

pytest plugin to check PEP8 requirements

pytest-catchlog

py.test plugin to catch log messages. This is a fork of pytest-capturelog.

pytest-cache

pytest plugin with mechanisms for caching across test runs

pytest-instafail

pytest plugin to show failures instantly

pytest-flake8

pytest plugin to check FLAKE8 requirements

Version usage of pytest-benchmark

Proportion of downloaded versions in the last 3 months (only versions over 1%).

3.4.1

78.79%

3.2.3

11.89%

3.2.2

6.93%

3.1.1

1.67%