Skip to content

Instantly share code, notes, and snippets.

@JetStarBlues
Created April 16, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JetStarBlues/31df87f3bf5ae66b2bc3 to your computer and use it in GitHub Desktop.
Save JetStarBlues/31df87f3bf5ae66b2bc3 to your computer and use it in GitHub Desktop.
Simple timer
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