Python perfΒΆ

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

Features:

  • JSON format to store benchmark results
  • pyperf (or python3 -m perf) command line tool to display, compare, analyze and modify benchmark results
  • 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:

Table Of Content:

See also: