Created
January 14, 2013 22:12
-
-
Save gradha/4533999 to your computer and use it in GitHub Desktop.
Python test case for parsing a big json
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 python | |
import json | |
import time | |
print "Loading and parsing json" | |
t1 = time.time() | |
j = json.load(open("nimrod_performance.json", "rt")) | |
print j["pak_filename"] | |
t2 = time.time() | |
print "Took %0.2f seconds" % (t2 - t1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment