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.1.1.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file perf_timer-0.1.1.tar.gz
.
File metadata
- Download URL: perf_timer-0.1.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec4bff86f1bafccb9c60639df1b2b4528833e771a0ab223a1e9374b11e4de88 |
|
MD5 | 973c977fd1d9394b64b3e4fa3f3635c6 |
|
BLAKE2b-256 | 36bc8352cd7f13808c8fe9340842d44a65f14957c37433c995b6505bf492325e |
File details
Details for the file perf_timer-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: perf_timer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 163424d400506c12e9b341d97b8ff920d8703b30319f5af1d5c6ba16fc5f1d32 |
|
MD5 | a9d53aae8f2753a4651bfdb6322cadf5 |
|
BLAKE2b-256 | 95bc5458520b4f59ab31ece3ef016c21e68b0e8b44213b35b126e12be358409c |