[
https://issues.apache.org/jira/browse/AVRO-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782502#action_12782502
]
Patrick Hunt commented on AVRO-240:
-----------------------------------
fyi, noticed this recently, it's a python json lib performance evaluation on
python 2.6. You might want to
add some detail in the avro py docs talking about how to get better/best
performance, esp as it
relates to the json library used (json stdlib performance is an order of
magnitude behind the others tested)
"I honestly didn't expect the stdlib json to be this far behind.
Among the other C based libraries there isn't a clear winner. cjson is the best
decoder but the slowest encoder, simplejson compiled with C speedups is the
fastest encoder but the slowest decoder while jsonlib2 is somewhere in the
middle for both cases."
http://www.mikealrogers.com/archives/695
> For Python 2.6 and above, use "json" module from stdlib instead of simplejson
> -----------------------------------------------------------------------------
>
> Key: AVRO-240
> URL: https://issues.apache.org/jira/browse/AVRO-240
> Project: Avro
> Issue Type: Improvement
> Components: python
> Reporter: Jeff Hammerbacher
> Assignee: Jeff Hammerbacher
> Attachments: AVRO-240.patch
>
>
> As described at
> http://bob.pythonmac.org/archives/2008/10/02/python-26-released-now-with-json/:
> # Use simplejson or Python 2.6 json, prefer simplejson.
> try:
> import simplejson as json
> except ImportError:
> import json
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.