On Fri, Jun 6, 2025 at 12:41 PM PIERRE AUGIER via pypy-dev
<pypy-dev@python.org> wrote:
>
> Thanks for the advice. Interestingly, I can confirm that there was a clear 
> slowdown in the hpy-0.0.4 branch: fbfb93b991eb is indeed 3 times slower than 
> 5a77b3ed145a (which is as slow as current PyPy).
>
> $ hg log -r fbfb93b991eb
> changeset:   106205:fbfb93b991eb
> branch:      hpy-0.0.4
> parent:      106198:bda034f1cbe8
> user:        Matti Picus <matti.pi...@gmail.com>
> date:        Tue Oct 04 16:34:43 2022 +0300
> summary:     remove debug cruft
>
> $ hg log -r 5a77b3ed145a
> changeset:   106090:5a77b3ed145a
> branch:      hpy-0.0.4
> user:        Matti Picus <matti.pi...@gmail.com>
> date:        Thu Sep 08 23:42:01 2022 +0300
> summary:     refactor to make ztranslation work, skip debug tests that use 
> closed handles


Nice detective work. The relevant git commit mappings from that branch
to py3.11 are fbfb93b991eb -> 3379a71102495cb and 5a77b3ed145a ->
50099512d3077f. If I look at the diff from

git diff 50099512d3077 3379a71102495cb --
pypy/module/_hpy_universal/interp_type.py

there were a bunch of changes that might impact performance. Perhaps
they can be refactored.
Matti
_______________________________________________
pypy-dev mailing list -- pypy-dev@python.org
To unsubscribe send an email to pypy-dev-le...@python.org
https://mail.python.org/mailman3//lists/pypy-dev.python.org
Member address: arch...@mail-archive.com

Reply via email to