json/benchmark/benchmark.py
2013-12-11 13:23:50 +01:00

11 lines
176 B
Python
Executable file

#!/usr/bin/env python
import json
import sys
import datetime
a = datetime.datetime.now()
data = json.loads(open(sys.argv[1]).read())
b = datetime.datetime.now()
print (b-a)