This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python module to generate and modify perf

Project Description

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

Features:

  • Simple API to run reliable benchmarks
  • 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.
  • perf stats command to analyze the distribution of benchmark results (min/max, mean, median, percentiles, etc.).
  • perf compare_to command tests if a difference if significant. It supports comparison between multiple benchmark suites (made of multiple benchmarks)
  • perf timeit command line tool for quick but reliable Python microbenchmarks
  • perf system tune command to tune your system to run stable benchmarks.
  • Automatically collect metadata on the computer and the benchmark: use the perf metadata command to display them, or the perf collect_metadata command to manually collect them.
  • --track-memory and --tracemalloc options to track the memory usage of a benchmark.
  • JSON format to store benchmark results.
  • Support multiple units: seconds, bytes and integer.

Quick Links:

Command to install perf on Python 3:

python3 -m pip install perf

perf supports Python 2.7 and Python 3. It is distributed under the MIT license.

Release History

Release History

This version
History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.9.6

History Node

0.9.5

History Node

0.9.4

History Node

0.9.3

History Node

0.9.2

History Node

0.9.1

History Node

0.9.0

History Node

0.8.3

History Node

0.8.2

History Node

0.8.1

History Node

0.8.0

History Node

0.7.12

History Node

0.7.11

History Node

0.7.10

History Node

0.7.9

History Node

0.7.8

History Node

0.7.7

History Node

0.7.6

History Node

0.7.5

History Node

0.7.4

History Node

0.7.3

History Node

0.7.2

History Node

0.7.1

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

History Node

0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
perf-1.3-py2.py3-none-any.whl (85.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel May 29, 2017
perf-1.3.tar.gz (170.3 kB) Copy SHA256 Checksum SHA256 Source May 29, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting