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 hashes)
Built Distribution
Close
Hashes for clockit-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd5e51b120a7eba44b947a7ea5c5de9d5ba02db2d5d3e63c9d141074eba30869 |
|
MD5 | edaa525918482d56a6fea13aab2c7d6c |
|
BLAKE2b-256 | a1ba956d94a3418c1e45a7ee6ddb5f019b6f8e8a856eb1575a7942c0a420a8c4 |