cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
YannickJadoul has quit [Quit: Leaving]
lritter has quit [Quit: Leaving]
jcea has quit [Quit: jcea]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
dddddd has quit [Ping timeout: 256 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
tsaka_ has joined #pypy
tsaka_ has quit [Ping timeout: 256 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
oberstet has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
BPL has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
tsaka_ has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
tsaka_ has quit [Ping timeout: 256 seconds]
tsaka_ has joined #pypy
thrnciar has joined #pypy
xcm has quit [Ping timeout: 264 seconds]
tsaka_ has quit [Remote host closed the connection]
tsaka_ has joined #pypy
tsaka_ has quit [Remote host closed the connection]
oberstet has quit [Remote host closed the connection]
tsaka_ has joined #pypy
tsaka_ has quit [Remote host closed the connection]
lastmikoi has quit [Excess Flood]
xcm has joined #pypy
lastmikoi has joined #pypy
lritter has joined #pypy
jcea has joined #pypy
<tos9> oy, it's 9AM and I bet I just found a threading bug in PyPy sqlite
<tos9> *phew*, ok, that was easier than expected, it's not a threading bug, it's a pypy3 bug
tsaka_ has joined #pypy
<cfbolz> tos9: that's fixed in py3.7, might need a backport
<tos9> cfbolz: a ha! cool, I scratched my head for 5 mins trying to figure out how this can be broken because tests in the sqlite suite seem to cover it, but I was looking at cpython3.8
<cfbolz> 9c27af1d34e9
<tos9> seems to already be grafted
<tos9> maybe just not released
<cfbolz> right
<tos9> thanks!
<cfbolz> tos9: is it fixed on py2.7 too?
<tos9> cfbolz: in PyPy2 it works for me already
<cfbolz> ah, ok
<tos9> (in 7.3.1)
tsaka_ has quit [Ping timeout: 256 seconds]
<marmoute> ho, I as mistaken then :-)
<marmoute> looks at your changes now then
tsaka_ has joined #pypy
mvantellingen has quit [Quit: ZNC 1.6.3+deb1ubuntu0.2 - http://znc.in]
mvantellingen has joined #pypy
dddddd has joined #pypy
tsaka_ has quit [Ping timeout: 260 seconds]
marvin_ has quit [Remote host closed the connection]
marvin has joined #pypy
lazka has quit [Quit: bye]
lazka has joined #pypy
ekaologik has joined #pypy
tsaka_ has joined #pypy
reaperhulk has left #pypy ["Textual IRC Client: www.textualapp.com"]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Lightsword has quit [Quit: ZNC]
Lightsword has joined #pypy
<mattip> cfbolz: could you unpin the top tweet on pypyproject?
ekaologik has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall.]
thrnciar has quit [Ping timeout: 260 seconds]
tsaka_ has quit [Ping timeout: 272 seconds]
lritter has quit [Quit: Leaving]
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
<catern> haha, sob, I went to all this effort to get my python-3.7-requiring stuff running with pypy and... my benchmark is 50% slower
<catern> or more like 80% slower
dddddd has quit [Ping timeout: 260 seconds]
<catern> hm, I did build from source - is there a quick way to benchmark pypy to check that I didn't, maybe, build without optimizations?
<tos9> you have to turn that off during the build with IIRC --no-jit or something like that
<tos9> did someone say that wasn't expected though?
<tos9> the py3.7 branch is AIUI not near ready
<ronan> performance should be similar to 3.6 though
<tos9> I don't know that that's in ways beyond the stdlib (and IIRC some parser changes? I didn't catch the scrollback entirely), but other things being missing is definitely not out of the question I'd suspect.
<tos9> ah ok so now ronan confirme dit :)
<tos9> never mind me
<ronan> catern: can you share your benchmark?
<catern> hmm it's not totally trivial, it uses this custom C library which I only build with Nix right now https://github.com/catern/rsyscall
<catern> i noticed a big swing in performance of a couple functions in my profile, so I'm looking at that right now
<catern> just to clear it up, are coroutines expected to perform well? since this is all async code
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<catern> maybe this is all trio's fault, I'm noticing a lot of slowdowns in trio primitives, maybe it does something weird...
<catern> (hmm no, false alarm on trio primitives, it seems to be something weirder; cprofile is reporting a lot more calls to a bunch of my polling functions, maybe that's measurement error, but maybe it's some weird scheduling thing)
<catern> (if I just divide total time by number of calls, individual functions do seem to have sped up a lot at least :))
<catern> I also ran a simpler benchmark without cprofile and got roughly the same slowdown so I don't think cprofile is at fault