Replace godep with dep
This commit is contained in:
parent
1e7489927c
commit
bf5616c65b
14883 changed files with 3937406 additions and 361781 deletions
7
vendor/github.com/mailru/easyjson/benchmark/ujson.sh
generated
vendored
Executable file
7
vendor/github.com/mailru/easyjson/benchmark/ujson.sh
generated
vendored
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#/bin/bash
|
||||
|
||||
echo -n "Python ujson module, DECODE: "
|
||||
python -m timeit -s "import ujson; data = open('`dirname $0`/example.json', 'r').read()" 'ujson.loads(data)'
|
||||
|
||||
echo -n "Python ujson module, ENCODE: "
|
||||
python -m timeit -s "import ujson; data = open('`dirname $0`/example.json', 'r').read(); obj = ujson.loads(data)" 'ujson.dumps(obj)'
|
||||
Loading…
Add table
Add a link
Reference in a new issue