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.0.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file perf_timer-0.1.0.tar.gz
.
File metadata
- Download URL: perf_timer-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0b3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74baede9964e8c22b1abbba396f74fff72e7840825c12a5ff96ec7a2ad92a59d |
|
MD5 | 31db8cdfcefa10bffb98b99c8c871c22 |
|
BLAKE2b-256 | cacf39bc90253c9f2401cd0ed4f7dc5b2e67be1ca7376e0b356bbb2481270dac |
File details
Details for the file perf_timer-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: perf_timer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0b3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5581305e0c3ff01cd83346abf4d995fd66e64d8299d6c74955ecca68a8e5bc |
|
MD5 | a67270f65d4705cb007d418be3fdb40a |
|
BLAKE2b-256 | 9b133076486162e6e42bc1013eed554eb0ee957bba155bbf4f87fe71ef9ecd4f |