Skip to main content

This package is for measuring the time spent for a function to run.

Project description

JCOtimer CI status

JCOtimer is a Python package for measuring the time spent a function takes to execute.

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

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

JCOtimer-5.0.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

JCOtimer-5.0-py3-none-any.whl (2.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page