Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (12 sloc) 281 Bytes
#!/usr/bin/env python
import json, sys, time
count = int(sys.argv[1])
for n in sys.argv[2:]:
print '%s:' % n
start = time.time()
fp = open(n)
for i in xrange(count):
val = json.load(fp)
end = time.time()
print ' ', end - start
Jump to Line
Something went wrong with that request. Please try again.