-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmark with HPy 0.0.3 and PyPy3 7.3.6 #6
base: hpy
Are you sure you want to change the base?
Conversation
1929d8b
to
ba809f3
Compare
0e495a0
to
9e5aae7
Compare
Tests are failing with
Is someting missing in PyPy? |
It seems that PyPy and CPython, using the HPy universal mode, have the same timing. Do you know the proportion of the time the benchmark spends inside C code vs. interpreter? |
I guess reversed slots are not fully supported. See https://foss.heptapod.net/pypy/pypy/-/issues/3509. |
I checked and a large part of the time (~70%) is spent in the function See also this issue on the performance with pure Python code for the same code: https://foss.heptapod.net/pypy/pypy/-/issues/3513 |
Github Actions give:
and
For CPython, the CPython C-API version still seems a bit faster than the HPy [CPy ABI] version. This might be because of the C codes doing slightly different things. For HPy [Universal], it is still a bit faster for CPython than for PyPy (warning: the results for Julia are a bit different for the 2 jobs). It's consistent with what I get on my computer. It's already much better than with the CPython API but it is a bit frustrating and not very nice to advertise HPy. |
Could we merge this ? |
No description provided.