Author theller
Recipients pitrou, theller
Date 2009-05-13.14:55:54
SpamBayes Score 1.16133e-11
Marked as misclassified No
Message-id <4A0ADF79.5050600@ctypes.org>
In-reply-to <1242225490.38.0.472792385904.issue6013@psf.upfronthosting.co.za>
Content
Here are the numbers from trunk (rev ) and release26-maint branch (rev ):

c:\svn\release26-maint\PCbuild>python -m timeit -s "from json import loads, dumps" "loads(dumps(range(32)))"
1000 loops, best of 3: 726 usec per loop

c:\svn\release26-maint\PCbuild>cd ..\..\trunk\PCbuild

c:\svn\trunk\PCbuild>python -m timeit -s "from json import loads, dumps" "loads(dumps(range(32)))"
10000 loops, best of 3: 33.5 usec per loop

So, the performance issue seems fixed in trunk but not in release26-maint.

(This stuff is an issue for me since I want to use jsonrpc on
an embedded system.  Cross-compiling Python is a pain, but installing
simplejson which uses setuptools is even more painful.)
History
Date User Action Args
2009-05-13 14:55:56thellersetrecipients: + theller, pitrou
2009-05-13 14:55:55thellerlinkissue6013 messages
2009-05-13 14:55:54thellercreate