Skip to content

Instantly share code, notes, and snippets.

@shubhamagarwal92
Created August 7, 2019 09:46
Show Gist options
  • Save shubhamagarwal92/f5eafbb21f8c5974dbd4d1e6a01b6bfd to your computer and use it in GitHub Desktop.
Save shubhamagarwal92/f5eafbb21f8c5974dbd4d1e6a01b6bfd to your computer and use it in GitHub Desktop.
Time your code to see the execution time
import time
start = time.time()
"the code you want to test stays here"
end = time.time()
print(end - start)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment