Hi Pierre,

so one thing you can definitely do without deep knowledge is bisect the performance degradation. We have nightly builds here: https://buildbot.pypy.org/nightly/

It's a little bit tedious work, but if it's such a clear slowdown, finding out what broke this is useful.

For more involved dev work, maybe it makes sense for us to set up a video call and brainstorm a bit what you would be interested in and would make strategic sense. I'm a bit busy with teaching still, but we can probably find a slot. Send me a private mail if you want to do that?

Cheers,

CF

On 2025-06-04 01:44, PIERRE AUGIER wrote:

Hello,

I'd like to try to work on this performance issue https://github.com/
pypy/pypy/issues/5277. It is about the fact that allocations of
types defined with HPy are very slow compared to the CPython
counterpart (typically 7 times slower).

I think it is a key problem when considering a potential revival of
the HPy project with new funding (which would help PyPy).

Some data in old messages seem to indicate that it is at least
partly a regression: it seems that PyPy was in Sept. 2022 only
something like 2 times slower.

I guess fixing issue #5277 is very technical and I realize that I
might not be able to be efficient on this subject. However, I'm
motivated to learn and I can spend a bit of time and energy on this
subject.

So I'm asking for some kind of mentoring. Matti and Carl Friedrich,
I would need your point of view on this project. Is it even possible
to try to do something about #5277 for someone who has only a
superficial knowledge of PyPy internals?

Then, where and how to start? I guess the first thing to do would be
to try to understand why PyPy is so slow by profiling (?), studying
traces (?) and/or studying PyPy code, in particular the HPy
implementation?

I'd like to be clear that it is just a proposition and that I
realize that I'm asking for your time. If you think that it does not
make sense to try to work on this direction (#5277, HPy in general),
please tell me!

Pierre

_______________________________________________
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