[pypy-issue] [issue1529] C queue datastructure accessed via CFFI slower than Python counterpart

mikefc tracker at bugs.pypy.org
Sat Jul 6 11:58:09 CEST 2013

New submission from mikefc <coolbutuseless at gmail.com>:

My timings with a recentish pypy nightly and cpython 2.7.4:

Interpreter | Queue Implementation | time
pypy        | python               |  1.372s
pypy        | cpp                  |  5.027s
cpython     | python               | 18.046s
cpython     | cpp                  | 35.330s

So calling into the cpp implementation with CFFI is a ~4x penalty for pypy and about a 
~2x penalty for cpython.

nosy: +mikefc
status: unread -> chatting

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

More information about the pypy-issue mailing list