[pypy-dev] Another benchmark where Pypy is much slower than CPython

Alex Gaynor alex.gaynor at gmail.com
Tue Apr 29 06:59:32 CEST 2014


I've reproduced the performance on the latest default (on OS X, FWIW). I'm
starting to profile now.

Alex

PS: Your namedtuple usage is fine.


On Mon, Apr 28, 2014 at 8:43 PM, Robert Grosse <n210241048576 at gmail.com>wrote:

> Hi, while working on some MDP code, I discovered that it was several times
> as slow under Pypy as CPython. Attached is a benchmark demonstrating this.
>
> On my computer, the benchmark takes 70.3 seconds under CPython 2.7.3
> 64bit, but it takes 273.6 seconds under
> pypy-c-jit-71056-c8e3b8cbc843-win32, the latest version I could find.
>
> The code is not at all optimized, but I still found it strange that Pypy
> did so much worse. The code doesn't seem that complex, but perhaps the
> usage of nameduples is triggering pathological behavior from the JIT's
> point of view.
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
>


-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140428/64de8f97/attachment.html>


More information about the pypy-dev mailing list