[pypy-issue] Issue #2190: Possible performance regression from 2.6.1 to 4.0.0 (pypy/pypy)

Tobias Oberstein issues-reply at bitbucket.org
Tue Nov 17 04:06:49 EST 2015


New issue 2190: Possible performance regression from 2.6.1 to 4.0.0
https://bitbucket.org/pypy/pypy/issues/2190/possible-performance-regression-from-261

Tobias Oberstein:

I've done some measurements comparing JSON and MsgPack 
serialization/deserialization performance

https://github.com/oberstet/scratchbox/tree/master/python/serperf

MsgPack deserialization seems significantly slower (>30%), e.g.

PyPy 4.0.0: 23642935 objs/sec
PyPy 2.6.1: 32081015 objs/sec

Note: the MsgPack library used (https://github.com/msgpack/msgpack-python) runs pure Python code when on PyPy and uses PyPy's string builder (https://github.com/msgpack/msgpack-python/blob/master/msgpack/fallback.py).




More information about the pypy-issue mailing list