pytest-benchmark2

This plugin provides a benchmark fixture. This fixture is a

Install

All systems
curl cmd.cat/pytest-benchmark2.sh
Arch Arch Linux
pacman -S python2-pytest-benchmark
Fedora
dnf install python2-pytest-benchmark

python2-pytest-benchmark

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