Skip to content

JCOtimer is a Python utility/package for measuring function runtime.

License

Notifications You must be signed in to change notification settings

jancarloonce/JCOtimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JCOtimer CI status

Decorator for python method 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

MIT

Author

Jan Carlo E. Once

About

JCOtimer is a Python utility/package for measuring function runtime.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages