Created
August 27, 2019 18:33
-
-
Save SrChach/e0bec6d4c4e872ba4747db562da92f6c to your computer and use it in GitHub Desktop.
See time that processes late in various languages
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 datetime | |
begin = datetime.datetime.now() | |
# Code we want to measure goes here | |
end = datetime.datetime.now() | |
time = end - begin | |
print("\n" * 5, time.seconds , "\n" * 5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment