Message87685
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. |
|
Date |
User |
Action |
Args |
2009-05-13 14:33:02 | theller | set | recipients:
+ theller |
2009-05-13 14:33:01 | theller | set | messageid: <1242225181.83.0.814831398624.issue6013@psf.upfronthosting.co.za> |
2009-05-13 14:33:00 | theller | link | issue6013 messages |
2009-05-13 14:32:59 | theller | create | |
|