Skip to main content

An indispensable performance timer for Python

Project description

PerfTimer is an instrumenting timer which provides an easy way to get insight into call count and average execution time of a function or piece of code during a real session of your program.

Use cases include:

  • check the effects of algorithm tweaks, new implementations, etc.
  • confirm the performance of a library you are considering under actual use by your app (as opposed to upstream's artificial benchmarks)
  • measure CPU overhead of networking or other asynchronous I/O (currently supported: OS threads, Trio async/await)

Project details


Download files

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

Source Distribution

perf_timer-0.2.0.tar.gz (10.4 kB view details)

Uploaded Source

File details

Details for the file perf_timer-0.2.0.tar.gz.

File metadata

  • Download URL: perf_timer-0.2.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for perf_timer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e47e8c862fd27225de07a6d2f557304960865a6e9ef26d7484b76cba90fc32cf
MD5 ca836a3f56decf8e64f495147f968353
BLAKE2b-256 7e39fb614841a524fb30ffdbbcb32fa080657770aa1328053c48aaea60cd991b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page