Update vendor

This commit is contained in:
Jingfang Liu
2018-06-14 10:07:41 -07:00
parent b7be630924
commit e7ecceb0c2
290 changed files with 59251 additions and 9 deletions

7
vendor/github.com/mailru/easyjson/benchmark/ujson.sh generated vendored Executable file
View 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)'