mirror of
https://github.com/nlohmann/json.git
synced 2026-08-15 13:43:17 +00:00
benchmark
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/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)
|
||||
Reference in New Issue
Block a user