py.test-benchmark
pytest fixture for benchmarking code (Python 3)
Install
- All systems
-
curl cmd.cat/py.test-benchmark.sh
- Debian
-
apt-get install python-pytest-benchmark
- Ubuntu
-
apt-get install python-pytest-benchmark
- Arch Linux
-
pacman -S python-pytest-benchmark
- Kali Linux
-
apt-get install python-pytest-benchmark
- Fedora
-
dnf install python3-pytest-benchmark
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install python-pytest-benchmark
- Raspbian
-
apt-get install python-pytest-benchmark
- Dockerfile
- dockerfile.run/py.test-benchmark
python3-pytest-benchmark
pytest fixture for benchmarking code (Python 3)
This plugin provides a benchmark fixture. This fixture is a callable object that will benchmark any function passed to it. Notable features and goals: - Sensible defaults and automatic calibration for microbenchmarks - Good integration with pytest - Comparison and regression tracking - Exhausive statistics - JSON export This package installs the library for Python 3.
python-pytest-benchmark
pytest fixture for benchmarking code (Python 2)
This plugin provides a benchmark fixture. This fixture is a callable object that will benchmark any function passed to it. Notable features and goals: - Sensible defaults and automatic calibration for microbenchmarks - Good integration with pytest - Comparison and regression tracking - Exhausive statistics - JSON export This package installs the library for Python 2.