python-pyperf 2.3.1 Toolkit for running Python benchmarks

The Python pyperf module is a toolkit for writing, running and analyzing benchmarks. It features a simple API that can:

  • automatically calibrate a benchmark for a time budget;

  • spawn multiple worker processes;

  • compute the mean and standard deviation;

  • detect if a benchmark result seems unstable;

  • store benchmark results in JSON format;

  • support multiple units: seconds, bytes and integer.