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
adamholmberg has quit [Remote host closed the connection]
Smigwell has quit [Read error: Connection reset by peer]
ctismer has quit [Read error: Connection reset by peer]
cfbolz has quit [Read error: Connection reset by peer]
DRMacIver has quit [Read error: Connection reset by peer]
jvesely has quit [Quit: jvesely]
Alex_Gaynor has quit [Read error: Connection reset by peer]
rguillebert has quit [Read error: Connection reset by peer]
fijal has quit [Read error: Connection reset by peer]
lauren has quit [Read error: Connection reset by peer]
rguillebert has joined #pypy
lauren has joined #pypy
fijal has joined #pypy
ctismer has joined #pypy
Alex_Gaynor has joined #pypy
cfbolz has joined #pypy
DRMacIver has joined #pypy
altendky has joined #pypy
speeder39_ has joined #pypy
petronny has joined #pypy
graingert has joined #pypy
speeder39_ has quit [Client Quit]
xcm has quit [Ping timeout: 265 seconds]
michelp has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
DRMacIver has quit [Read error: Connection reset by peer]
altendky has quit [Ping timeout: 260 seconds]
lauren has quit [Ping timeout: 258 seconds]
michelp has quit [Ping timeout: 246 seconds]
EWDurbin has quit [Ping timeout: 252 seconds]
ctismer has quit [Ping timeout: 258 seconds]
graingert has quit [Ping timeout: 272 seconds]
fijal has quit [Ping timeout: 268 seconds]
Alex_Gaynor has quit [Ping timeout: 245 seconds]
rguillebert has quit [Ping timeout: 258 seconds]
fijal has joined #pypy
petronny has quit [Ping timeout: 260 seconds]
samth has quit [Ping timeout: 248 seconds]
jeroud has quit [Ping timeout: 260 seconds]
cfbolz has quit [Ping timeout: 245 seconds]
avakdh has quit [Ping timeout: 245 seconds]
reaperhulk has quit [Ping timeout: 252 seconds]
string has quit [Ping timeout: 252 seconds]
krono has quit [Ping timeout: 272 seconds]
phlebas has quit [Ping timeout: 245 seconds]
idnar has quit [Ping timeout: 260 seconds]
ctismer has joined #pypy
fijal has quit [Ping timeout: 260 seconds]
CrazyPython has joined #pypy
wallet42 has quit [Ping timeout: 245 seconds]
stillinbeta has quit [Ping timeout: 245 seconds]
ctismer has quit [Ping timeout: 246 seconds]
adamholmberg has joined #pypy
msjyoo has quit [Ping timeout: 248 seconds]
starlord has quit [Ping timeout: 260 seconds]
jvesely has joined #pypy
jeroud has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
epony has joined #pypy
krono has joined #pypy
jeroud has quit [Ping timeout: 245 seconds]
krono has quit [Ping timeout: 260 seconds]
xcm has joined #pypy
CrazyPython has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
<jacob22> Dejan: According to the pypy compatibilty list, you need psycopg2cffi instead of psycopg2.
adamholmberg has quit [Remote host closed the connection]
dddddd has quit [Ping timeout: 265 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
CrazyPython has quit [Read error: Connection reset by peer]
krono has joined #pypy
krono has quit [Read error: Connection reset by peer]
krono has joined #pypy
krono has quit [Ping timeout: 260 seconds]
krono has joined #pypy
krono has quit [Ping timeout: 272 seconds]
adamholmberg has joined #pypy
CrazyPython has joined #pypy
krono has joined #pypy
krono has quit [Ping timeout: 240 seconds]
xcm has quit [Ping timeout: 272 seconds]
kcr has joined #pypy
xcm has joined #pypy
kcr has quit [Ping timeout: 272 seconds]
inhahe has quit []
CrazyPython has quit [Read error: Connection reset by peer]
jcea has quit [Quit: jcea]
inhahe has joined #pypy
<kenaan> mattip benchmarks 52af1db49be7 /: fix sqlite3 benchmark
inhahe has quit []
CrazyPython has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
adamholmberg has quit [Remote host closed the connection]
inhahe has joined #pypy
michelp has joined #pypy
michelp has quit [Ping timeout: 260 seconds]
idnar has joined #pypy
idnar has quit [Ping timeout: 272 seconds]
avakdh has joined #pypy
avakdh has quit [Ping timeout: 245 seconds]
starlord has joined #pypy
starlord has quit [Ping timeout: 246 seconds]
starlord has joined #pypy
idnar has joined #pypy
michelp has joined #pypy
graingert has joined #pypy
avakdh has joined #pypy
jeroud has joined #pypy
wallet42 has joined #pypy
petronny has joined #pypy
stillinbeta has joined #pypy
cfbolz has joined #pypy
reaperhulk has joined #pypy
phlebas has joined #pypy
samth has joined #pypy
ctismer has joined #pypy
msjyoo has joined #pypy
DRMacIver has joined #pypy
krono has joined #pypy
fijal has joined #pypy
kcr has joined #pypy
EWDurbin has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
string has joined #pypy
lauren has joined #pypy
rguillebert has joined #pypy
rubdos has quit [Quit: WeeChat 2.4]
jvesely has quit [Quit: jvesely]
Alex_Gaynor has joined #pypy
rubdos has joined #pypy
zmt01 has quit [Ping timeout: 260 seconds]
<Dejan> jacob22, that is terrible because then I need to maintain two separate requirement lists, one for CPython, and other for PyPy...
<Dejan> psycopg2cffi uses a different package name
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
zmt00 has joined #pypy
<Dejan> I wonder would adding PyCodec_Encoder and PyCodec_Decoder to the codecs.py solve the psycopg2 issues?
<ammar2> psycopg2cffi works on both CPython and PyPy
<Dejan> if psycopg2cffi was a drop-in replacement for psycopg2-binary, then sure I would use it
<Dejan> but it is not
<Dejan> also I do not control some of the 10+ dependencies that also rely on psycopg2-binary... they are developed by other teams
<Dejan> psycopg2cffi should contain the same packages as psycopg2-binary ...
<Dejan> then it would be useful to me
dddddd has joined #pypy
zoomorph has joined #pypy
<cfbolz> antocuni: I suspect this is probably another issue related to pypy3 io slowness: https://bitbucket.org/pypy/pypy/issues/3153/pypy3-performance-regression-vs-pypy2
<kenaan> cfbolz py3.7-call-changes e00970e45d4b /pypy/interpreter/astcompiler/: limit the maximum stack size when doing calls with huge arguments the _make_call method is slowly beco...
<kenaan> cfbolz py3.7-call-changes 8169d516e6b1 /pypy/interpreter/astcompiler/: what I actually wanted to achieve: support calls with arbitrary many arguments
<antocuni> cfbolz: ouch :(
<antocuni> is it because of the new io stack?
<cfbolz> antocuni: I haven't investigated in detail yet
adamholmberg has joined #pypy
Smigwell has joined #pypy
lritter has joined #pypy
jcea has joined #pypy
<cfbolz> antocuni: the benchmark reduces to "pip is slow on pypy3"
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jvesely has joined #pypy
jacob22 has quit [Ping timeout: 265 seconds]
<ronan> cfbolz: what do you mean? I'm not seeing much time spent in pip itself
<cfbolz> ronan: eg try this on the toplevel of the virtualenv checkout:
<cfbolz> pip wheel -w /tmp/tmpwt2xea_r/wheel-store --no-deps .
<cfbolz> sorry, use some suitable tmp dir
<cfbolz> I get:
<cfbolz> (jit on or off makes no diff)
<cfbolz> wait, reload the paste, had a copy-paste error
<cfbolz> the script calls out to a new executable running pip 62 times
<cfbolz> each call is a tiny bit slower than on cpython
jacob22 has joined #pypy
<ronan> right, but IIUC most of the runtime of the script is spent in the parent process
<cfbolz> ronan: not for me
<cfbolz> I see almost all time spent in the run_suppress_output function
<ronan> how do you measure that?
altendky_ has joined #pypy
<cfbolz> ronan: wrote a small decorator
altendky_ has quit [Client Quit]
altendky_ has joined #pypy
altendky_ has quit [Client Quit]
altendky has joined #pypy
<cfbolz> wait, I am confused
<cfbolz> ronan: looking at the new messages, what's slow is maybe not calling make_zipapp.py, but the test test_zipapp_help
<ronan> cfbolz: I see, I got confused by looking at vmprof results
<cfbolz> right :-(
<cfbolz> ronan: I wonder whether those are even the times running under coverage?
<ronan> cfbolz: yes, they probably are. The whole test suite is run under coverage
<cfbolz> then it's kind of a known issue
<cfbolz> but maybe it's indeed the case that coverage is a lot slower on pypy3
<cfbolz> nedbat: coverage uses an extension module on cpython, right?
<nedbat> cfbolz: yes, and pure python on pypy
<cfbolz> right
jacob22 has quit [Quit: Konversation terminated!]
<cfbolz> ronan: are you getting anywhere?
<cfbolz> it's not coverage, fwiw
<ronan> cfbolz: not really. I can't see where the massive slowdown on Azure comes from
<cfbolz> Right 😑
jacob22 has joined #pypy
fryguybob has quit [Ping timeout: 265 seconds]
zmt00 has quit [Quit: Leaving]
xcm has quit [Remote host closed the connection]
zmt00 has joined #pypy
xcm has joined #pypy
Ai9zO5AP has quit [Ping timeout: 260 seconds]
jvesely has quit [Quit: jvesely]
Ai9zO5AP has joined #pypy
fryguybob has joined #pypy
xcm has quit [Remote host closed the connection]
jvesely has joined #pypy
xcm has joined #pypy
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
zoomorph has quit [Quit: Leaving.]
jvesely has quit [Quit: jvesely]
<kenaan> mattip benchmarks b5639ac3c520 /: try to make sending more robust
jvesely has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
Smigwell has quit [Read error: Connection reset by peer]