Atque has quit [Remote host closed the connection]
Atque has joined #pypy
Dejan_ has joined #pypy
Dejan_ has quit [Remote host closed the connection]
jean-paul[m] has quit [Quit: Bridge terminating on SIGTERM]
graingert[m] has quit [Quit: Bridge terminating on SIGTERM]
marmoute has quit [Quit: Bridge terminating on SIGTERM]
jevinskie[m] has quit [Quit: Bridge terminating on SIGTERM]
jryans has quit [Quit: Bridge terminating on SIGTERM]
jevinskie[m] has joined #pypy
jcea has joined #pypy
jean-paul[m] has joined #pypy
marmoute has joined #pypy
jryans has joined #pypy
graingert[m] has joined #pypy
derpydoo has joined #pypy
derpydoo has quit [Quit: derpydoo]
jryans has quit [*.net *.split]
sam_ has quit [*.net *.split]
mgorny has quit [*.net *.split]
mgorny has joined #pypy
derpydoo has joined #pypy
jryans has joined #pypy
sam_ has joined #pypy
greedom has joined #pypy
mattip has quit [Ping timeout: 268 seconds]
mattip has joined #pypy
mattip has quit [Ping timeout: 268 seconds]
mattip has joined #pypy
mattip has quit [Ping timeout: 252 seconds]
mattip has joined #pypy
greedom has quit [Remote host closed the connection]
ltfish has joined #pypy
<ltfish>
hi all, I have a large Python project, and the pure Python part runs much slower in PyPy than in CPython. I profiled it using jitlog and vmprof (had to migrate vmprof-server to Python 3), and found that about 85% of code was interpreted instead of jitted.
<ltfish>
what's a good way or tool for me to profile the jitting in-depth to see what's happening? any pointers will be appreciated. thanks in advance!
<mattip>
you might want to read a bit about the JIT
<mattip>
one key concept is that only hot code is compiled, and hot code is code that is traced over 1000 times
derpydoo has quit [Quit: derpydoo]
epony has quit [Remote host closed the connection]
epony has joined #pypy
<ltfish>
I did read that page, and I am aware that only hot code (by default, used over 1000 times) is jitted. however, is it expected that PyPy's interpreter is 30% slower than CPython 3.11 in my use case (pure Python code, no C extensions)?
<ltfish>
I will lower the limit and profile again to see if more code gets jitted (with the understanding that more code getting jitted does not mean it will run faster, because of the bootstrap time)