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.2.tar.gz
(10.8 kB
view details)
Built Distribution
File details
Details for the file perf_timer-0.2.2.tar.gz
.
File metadata
- Download URL: perf_timer-0.2.2.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d42ee66f8052677d68ce091d7152cd7c52fc60d45424a9357f755b59da1f3ed |
|
MD5 | 225fd2c3dc01c2c899f48580be4ed0af |
|
BLAKE2b-256 | 6d3b6456ac4cd4df04a491c23addfc0acb32f7cb8aa5576bb5697d3be9b3eaa6 |
File details
Details for the file perf_timer-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: perf_timer-0.2.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbada3d73b8de6bf39fa87fcf44ba7a2005a5d0f4034142077853690142a6ff3 |
|
MD5 | eb878046262df28abeb86997601f76e6 |
|
BLAKE2b-256 | 33fc43daacafe1937dbda5f2d6d28981a950d8d46405cc75eaccfcb37104b153 |