[Python-Dev] Status of json (simplejson) in cpython

Antoine Pitrou solipsis at pitrou.net
Sat Apr 16 13:30:13 CEST 2011


On Sat, 16 Apr 2011 00:41:03 +0000
Matt Billenstein <matt at vazor.com> wrote:
> 
> Slightly less crude benchmark showing simplejson is quite a bit faster:
> 
> http://pastebin.com/g1WqUPwm
> 
> 250ms vs 5.5s encoding and decoding an 11KB json object 1000 times...

This doesn't have much value if you don't say which version of Python
you ran json with. You should use 3.2, otherwise you might miss some
optimizations.

Regards

Antoine.




More information about the Python-Dev mailing list