Tool for timing the execution of Python functions
Project description
Tool for timing the execution of Python functions.
Installation
Install with pip:
pip install clockit
Usage
Run as follows:
$ python >>> from clockit import clockit >>> def f(x, y=1): ... return x, y ... >>> clockit(f, 1, y=2) 0.00045296200551092625
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
clockit-0.1.0.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file clockit-0.1.0.tar.gz
.
File metadata
- Download URL: clockit-0.1.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a7c9482ac4e6d80754a3b5530af91b51b1160ad84fb3af40d7d46ec2531e97a |
|
MD5 | e43e15fc5a52299ed2767977c2eb7e83 |
|
BLAKE2b-256 | e42bc30984f13582102c65ce3b98261464284e832159592c70ba5217c3b1c1c4 |
File details
Details for the file clockit-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: clockit-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd5e51b120a7eba44b947a7ea5c5de9d5ba02db2d5d3e63c9d141074eba30869 |
|
MD5 | edaa525918482d56a6fea13aab2c7d6c |
|
BLAKE2b-256 | a1ba956d94a3418c1e45a7ee6ddb5f019b6f8e8a856eb1575a7942c0a420a8c4 |