Created
April 16, 2015 14:16
-
-
Save JetStarBlues/31df87f3bf5ae66b2bc3 to your computer and use it in GitHub Desktop.
Simple timer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
start = time.time() | |
# call function | |
elapsedTime = round( ( time.time() - start ), 3 ) | |
print(elapsedTime, "seconds") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment