Pytest-benchmark2 Command
Install pytest-benchmark2
-
Arch Linux
pacman -S python2-pytest-benchmark
Click to copy -
Fedora
dnf install python2-pytest-benchmark
Click to copy
python2-pytest-benchmark
This plugin provides a benchmark fixture. This fixture is acallable 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
To install the latest version of pytest-benchmark2 in your favorite operating system just copy the pytest-benchmark2 installation command from above and paste it into terminal. It will download and install the latest version of pytest-benchmark2 2024 package in your OS.