JCOtimer is a Python utility/package for measuring function runtime.
Project description
JCOtimer
JCOtimer is a Python utility/package for measuring function runtime.
Installation
Requirements
- Windows/Linux/OSX
- Python 3.x
Check it on Pypi.
$ pip install JCOtimer
Usage
from JCOtimer.timer import timer
@timer #use as decorator
def foo():
print('bar' * 999999)
foo() # returns 'Time it took to run the function: 0.4072580337524414 secs'
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Author
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
JCOtimer-7.0.tar.gz
(1.7 kB
view hashes)
Built Distribution
JCOtimer-7.0-py3-none-any.whl
(2.1 kB
view hashes)