This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author theller
Recipients theller
Date 2009-05-13.14:32:58
SpamBayes Score 4.607714e-05
Marked as misclassified No
Message-id <1242225181.83.0.814831398624.issue6013@psf.upfronthosting.co.za>
In-reply-to
Content
The json package is a lot slower than the simplejson package.  Both
packages have their C compiled speedup module; however:

  C:\>py26 -m timeit -s "from json import dumps, loads"
"loads(dumps(range(32)))"
  1000 loops, best of 3: 618 usec per loop

  C:\>py26 -m timeit -s "from simplejson import dumps, loads"
"loads(dumps(range(32)))"
  10000 loops, best of 3: 31 usec per loop

This is on Windows XP, with Python 2.6.2.
History
Date User Action Args
2009-05-13 14:33:02thellersetrecipients: + theller
2009-05-13 14:33:01thellersetmessageid: <1242225181.83.0.814831398624.issue6013@psf.upfronthosting.co.za>
2009-05-13 14:33:00thellerlinkissue6013 messages
2009-05-13 14:32:59thellercreate