2 ms·
You might want to use the timeit module instead: $ python -m timeit --setup 'import json' "json.loads('{\"data\": \"hello, world\"}')" 100000 loops, best o
by jwilk 10y ago
You might want to use the timeit module instead:
$ python -m timeit --setup 'import json' "json.loads('{\"data\": \"hello, world\"}')"
100000 loops, best of 3: 9.34 usec per loop
- deleted 10y ago[deleted]