Use omnijson for best json #9

ned14 opened this Issue Jul 14, 2011 · 0 comments


None yet

1 participant

ned14 commented Jul 14, 2011

Can I suggest that you use to retrieve the best json?

cjson hasn't been maintained in years (plus doesn't compile on Windows), and ujson beats the pants off it in speed anyway. If nothing else, you really ought to swap cjson for ujson throughout your library. Here's some benchmarks for Python 2.7:

Please wait ...
Starting json...
done: 9.36400008202
Starting ujson...
done: 1.34500002861
Starting cjson...
done: 3.60399985313
Starting pickle...
done: 10.2590000629


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment