Created
August 7, 2019 09:46
-
-
Save shubhamagarwal92/f5eafbb21f8c5974dbd4d1e6a01b6bfd to your computer and use it in GitHub Desktop.
Time your code to see the execution time
This file contains hidden or 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() | |
"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