Created
December 2, 2013 02:02
-
-
Save lwzm/7743809 to your computer and use it in GitHub Desktop.
my simple version
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
#!/usr/bin/env python3 | |
def f(): | |
for _ in range(1000**2): | |
pass | |
import time | |
t0 = time.time() | |
f() | |
print(time.time() - t0) | |
print(time.clock()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment