cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | Matti: I made a bit of progress, the tests now only segfault towards the end
belm0 has joined #pypy
<belm0> re. "an experiment to switch CPython to a register VM", it's interesting, although they claim typical speedup of 12% on Python 3.10, while CPython 3.11 gives about the same speedup.  So the question is whether register VM will give the same size boost to 3.11 or not.
<belm0> So I tried pyston-lite on my app.  Kudos for achieving ~10% speedup (on python 3.8) with just a pip install.  But we can get the same speedup from CPython 3.11.
<belm0> Now faced with trying pyston-full, which needs a compile of all app dependencies with C extensions, and hope for 20%+ speedup.  Indeed pyston-full will no longer be maintained, but hopefully this will be a stopgap until future CPython versions can match the performance.
<belm0> the pyston team's plan:  "We currently are unable to use all of our techniques in Pyston-lite due to having less control over the system, but we are in discussions with the CPython team to add more JIT hooks to Python 3.12. Ideally we will be able to offer an extension module for 3.12 that has the same performance as a full fork of CPython [i.e.
<belm0> pyston-full]."
<belm0> actually, for RegCPython, the claimed 12% geometric mean speedup is reduced to 6-9% when PGO is enabled :(
<belm0> "With PGO enabled, the geometric mean of RegCPython’s speedup over CPython on all benchmarks became 1.056 on x86 and 1.092 on ARM"
epony has joined #pypy
belm0 has quit [Quit: Client closed]
lesshaste has joined #pypy
leshaste has quit [Read error: Connection reset by peer]
_whitelogger has joined #pypy
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
epony has quit [Ping timeout: 252 seconds]
otisolsen70 has joined #pypy
epony has joined #pypy
epony has quit [Remote host closed the connection]
epony has joined #pypy
belm0 has joined #pypy
<belm0> running my app on RegCPython:  5% speedup.   Small, but still promising that it can compose with CPython 3.11.  I confirmed with author of the paper, though the rebase will be difficult.
<belm0> running my app on pyston-full:  20% speedup
<fijal> belm0: I kinda doubt you are going to get better speedups with pypy and probably not without putting in significant work
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
belm0 has quit [Quit: Client closed]
Dejan has joined #pypy
jinsun has joined #pypy
leshaste has joined #pypy
lesshaste has quit [Read error: Connection reset by peer]
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
derpydoo has joined #pypy
ellemoeiselleva has joined #pypy
slav0nic has joined #pypy
ellemoeiselleva has quit [Quit: Leaving]
ellemoeiselleva has joined #pypy
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
otisolsen70 has quit [Quit: Leaving]
leshaste has quit [Remote host closed the connection]
leshaste has joined #pypy
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
ellemoeiselleva has quit [Read error: Connection reset by peer]
<leshaste> should I open a bug report about getting matplotlib to work? I am guessing this is something a lot of people would want to do
Atque has joined #pypy
Dejan has quit [Quit: Leaving]
ellemoeiselleva has joined #pypy
derpydoo has quit [Quit: derpydoo]
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
Atque has quit [Remote host closed the connection]
Atque has joined #pypy
Julian has joined #pypy
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy
ellemoeiselleva has quit [Remote host closed the connection]
ellemoeiselleva has joined #pypy
Julian has quit [Quit: leaving]
leshaste has quit [Remote host closed the connection]
leshaste has joined #pypy
ellemoeiselleva has quit [Quit: Leaving]
slav0nic has quit [Ping timeout: 246 seconds]
samth has quit [Read error: Connection reset by peer]
samth has joined #pypy
epony has quit [Ping timeout: 252 seconds]
epony has joined #pypy