Useful Python library for performance testing that contains multiple function decorators
Project description
PerfCount - a Python library used for performance testing
Install it with pip install perfcount
.
There are multiple decorators included for testing in the library, including perf.perf
, perfcount.perf_ns
, perfcount.shouldtake
, and perfcount.timeout
. The perfcount.time_this_program
module can be imported to time the program from the time of importing the perfcount.time_this_program
module to interpreter exit.
The command perftcount
can be used to measure execution time of a command. Ex. perfcount python script.py
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file perfcount-1.0.1.tar.gz
.
File metadata
- Download URL: perfcount-1.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ee800cf00be1574d22d82eb0ddc14ac6399806d3533321e06566c92bd47af44 |
|
MD5 | 44e06f036df8a0aa9daa50d8eec47457 |
|
BLAKE2b-256 | d0f87cd492bbb3a1d666dee2d55d304d71186b3f3297ff5b6d358a1f9d7b97b4 |
File details
Details for the file perfcount-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: perfcount-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fdf0606cc0dad4f9e9b40f2aed8b75e20a9584437fa4654b4681af6745697de |
|
MD5 | 65171472a576d9953bdcb5218734dbd5 |
|
BLAKE2b-256 | d184482be1301feff49f28ad0a5eedc7be6a29acc5e39525c892a4aabe734f33 |