python measure time of execution class code example
Example: how to time python code
from timer import Timer
t = Timer()
t.start()
# Run stuff here.
t.stop()
from timer import Timer
t = Timer()
t.start()
# Run stuff here.
t.stop()