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.1.tar.gz
(10.6 kB
view details)
Built Distribution
File details
Details for the file perf_timer-0.2.1.tar.gz
.
File metadata
- Download URL: perf_timer-0.2.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 930f6199742abd8bfcec7c0d54e9cbc5b1902b53e040be8198250afd7d0e4d00 |
|
MD5 | 2b1d4ccedbcc9ba3353b6848a00a588a |
|
BLAKE2b-256 | 2aa238857ac7159585e25571f9cee224fe15c0a939ec9ac375c77a77d50a01ec |
File details
Details for the file perf_timer-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: perf_timer-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a246926e394f2cac9272cf163dc9ce7bc87c33ba4a6838c4fff34beeb412a707 |
|
MD5 | ecfcf451eb1f49827407d090bca8fdd9 |
|
BLAKE2b-256 | 379bc01f8eadc6101e2aba17600f7a26d3a8d60e6b15c5528bcbc89411ecab82 |