Skip to content

Instantly share code, notes, and snippets.

@dreikanter
Created July 26, 2013 13:42
Show Gist options
  • Save dreikanter/6088948 to your computer and use it in GitHub Desktop.
Save dreikanter/6088948 to your computer and use it in GitHub Desktop.
Measure elapsed time
import time
start_time = time.time()
time.sleep(1)
elapsed_time = time.time() - start_time
print(elapsed_time)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment