/perf

Toolkit to run Python benchmarks

Primary LanguagePythonMIT LicenseMIT

perf

Latest release on the Python Cheeseshop (PyPI) Build status of perf on Travis CI

The Python perf module is a toolkit to write, run, analyze and modify benchmarks.

Features:

  • JSON format to store benchmark results
  • Command line tools to display, analyze and modify benchmarks
  • Statistical tools to analyze the distribution of benchmark results
  • compare command supports comparison between multiple benchmark suites (made of multiple benchmarks)
  • timeit command for quick but reliable Python microbenchmarks

Links:

perf supports Python 2.7 and Python 3. Install perf on Python 3:

python3 -m pip install perf