easy-tic-toc

The easiest way to calculate the execution time of any part of the program in Python


License
MIT
Install
pip install easy-tic-toc==0.0.1

Documentation

Usage

"""python

from tictoc import tic, toc

tic()

<some codes>

toc()       # to show the execution time directly with built-in print function

#-----------------------------------------#

tic()

<some codes 2>

execution_time = toc(False) # do not show, but return as a variable

"""