Created
May 17, 2019 16:02
-
-
Save roramirez/cebda080687997e11e05593b1d5ab39b to your computer and use it in GitHub Desktop.
This file contains 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 | |
a1 = datetime.datetime.now() | |
import re | |
import os | |
a2 =datetime.datetime.now() | |
print(a1, a2, a2 - a1) | |
b1 = datetime.datetime.now() | |
b2 = datetime.datetime.now() | |
print(b1, b2, b2 - b1) | |
c1 = datetime.datetime.now() | |
for i in range(1, 10000): | |
import re | |
a = i | |
c2 =datetime.datetime.now() | |
print(c1, c2, c2 - c1) | |
c1 = datetime.datetime.now() | |
for i in range(1, 10000): | |
import re | |
a = i | |
c2 =datetime.datetime.now() | |
print(c1, c2, c2 - c1) | |
d1 = datetime.datetime.now() | |
for i in range(1, 10000): | |
a = i | |
d2 =datetime.datetime.now() | |
print(d1, d2, d2 - d1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment