[wdmmg-dev] Depend on a faster json library
senger at rehfisch.de
Wed May 11 19:19:43 UTC 2011
while working on api/2/aggregate I found that json.dumps consumes ~ 66% of
the request time in bigger queries. Can we depend on a faster json
generator like ujson or cjson? With both it drops to ~ 7 %.
For a very big query it's 33 -> 1.5 seconds for json generation.
I'd like to depend on ujson. It's maintained and cjson had no release for 3
years, but a buffer overflow vulnerability last year that is only fixed by
distributions, but not on pypi.
More information about the openspending-dev