[pypy-issue] [issue868] Pypy json.dumps >100% slower than CPython 2.7, simplejson

timo tracker at bugs.pypy.org
Sun Sep 11 05:20:35 CEST 2011

timo <timonator at perpetuum-immobile.de> added the comment:

I just quickly and very nonscientifically poked my head into the json encoder 
code from lib-python/modified-2.7 and was able to speed up the "huge" benchmark 
from 700000 usecs/loop to 200000 usecs/loop, just by putting None into the 
markers dictionary instead of the object itself. I'm positive that I can figure 
out a few more things that pypy really, really doesn't like - but first I'll 
catch some sleep.

nosy: +timo
status: unread -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list