[pypy-dev] Why is pypy slower?

Maciej Fijalkowski fijall at gmail.com
Wed Feb 13 10:19:41 EST 2019


On Wed, Feb 13, 2019 at 3:57 PM Joseph Reagle <joseph.2011 at reagle.org> wrote:
>
>
> On 2/13/19 9:38 AM, Maciej Fijalkowski wrote:
> > My first intuition would be to run it for a bit longer (can you run
> > it in a loop couple times and see if it speeds up?) 2s might not be
> > enough for JIT to kick in on something as complicated
>
> It's a single use utility where each run processes about a 100 XML files, doing things like string regex and munging thousands of times.
>
> Is it possible for pypy to remember optimizations across instantiations?

It is not possible.

Here is the explanation:
http://doc.pypy.org/en/latest/faq.html#couldn-t-the-jit-dump-and-reload-already-compiled-machine-code

Best,
Maciej Fijalkowski


More information about the pypy-dev mailing list