Skip to content

Runtimecheck is an efficient Python library to help you quickly measure your functions's running time on a jupyter noetbook

License

Notifications You must be signed in to change notification settings

jusce17/runtimecheck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runtimecheck

PyPI version Downloads Ask Me Anything ! Supported Python Versions PRs Welcome License: MIT

Runtimecheck

Originally Forked from the Time-Logger Runtimecheck is an efficient Python library to help you quickly measure your functions's running time on a jupyter noetbook

Installation

On the terminal

pip install runtimecheck

On a Jupyter Notebook

!pip install runtimecheck

Example Usage

import time

from runtimecheck.Timer import check_runtime

@check_runtime()
def hello_world():    
    time.sleep(2)
    print("Hello World")


say_hi()

Result

>> Hello World
>> hello_world ran in 2.0001 seconds

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Runtimecheck is an efficient Python library to help you quickly measure your functions's running time on a jupyter noetbook

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%