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
oberstet has quit [Remote host closed the connection]
speeder39_ has quit [Quit: Connection closed for inactivity]
Rhy0lite has quit [Quit: This computer has gone to sleep]
jcea has quit [Quit: jcea]
xcm has joined #pypy
oberstet has joined #pypy
<mattip> proof that monoculture has its downside: github is having hiccups. Now try to do anything
petronny has quit [Quit: Connection closed for inactivity]
<cfbolz> mattip: note that git operations still work at least
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
commandoline has quit [Ping timeout: 258 seconds]
commandoline has joined #pypy
<arigo> trying to use kcachegrind to figure out why f.read() on a large binary file is much slower in pypy3 than in pypy
<arigo> the difference might come down to pypy2 accumulating pieces in a list of strings and calling join() at the end
<arigo> whereas pypy3 uses a stringbuffer
<arigo> well I'm not too sure but there seem to be *less* memcpy-ed bytes in pypy3, but it takes a lot *more* time, because it's a lot less cache-friendly
<arigo> ...ok now kcachegrind itself crashes, stuck into some infinite loop
<arigo> found a likely culprit: when calling f.read(), we get a byte string with all the data, and then there are two levels that do "builder=StringBuilder();builder.append(s);s=builder.build()"
<arigo> if the file is bigger than all memory caches, it makes 2x2 more copies of all the bytes
<arigo> thrashing the whole cache 4 extra times
YannickJadoul has joined #pypy
<cfbolz> arigo: ouch
ebarrett has joined #pypy
<arigo> a quick idea to replace the changeset number (99xxx) with another number more stable across builders
<arigo> hg log -r '..08b9fbd4360b' --template x | wc
<arigo> this counts the number of changesets in the history of 08b9fbd4360b (for example)
<arigo> the resulting number is not unique across branches, but it should be stable
<arigo> and increasing
<arigo> and it should be unique in a given branch when run on a repo in which multiple heads are disallowed
Rhy0lite has joined #pypy
<mattip> arigo: i some buildbot workers have evolve/topic and some don't, the number of commits might change
<mattip> since heptapod will give topic commits to clients with evolve/topic enabled
<mattip> what if we pushed a revision count from the master to the workers, then there would be one source of truth
<mattip> or we could drop the revision count altogether and sort the artifacts by date
<mattip> for numpy weeklies we add a date tag to the artifact name to avoid this problem
<arigo> mattip: the point of counting like I suggested is that it doesn't depend on random commits, but only counts the commits exactly in the history of the one we're testing
<mattip> topic branches off that branch don't count?
<arigo> branches are ignored, it counts the commits that are parents of the given one
<arigo> for example, on py3.6 the number is much larger than on default, because all of default's commits up to the most recent merge are also parents of the py3.6 head
<arigo> also, topic commits that are not merged are never parents of the branch head
<mattip> +1
_whitelogger has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5367 [mattip: force build, py3.7]
EWDurbin has quit [*.net *.split]
kbtr_ has quit [*.net *.split]
gutworth has quit [*.net *.split]
Ashleee has quit [*.net *.split]
larstiq_ has quit [*.net *.split]
kbtr_ has joined #pypy
larstiq_ has joined #pypy
EWDurbin has joined #pypy
Ashleee has joined #pypy
gutworth has joined #pypy
jcea has joined #pypy
lritter has joined #pypy
Dejan has joined #pypy
Dejan has quit [Changing host]
Dejan has joined #pypy
jcea has quit [Quit: jcea]
xcm has quit [Read error: Connection reset by peer]
speeder39_ has joined #pypy
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5367 [mattip: force build, py3.7]
<mattip> why are os.P_WAIT, os._NOWAIT and os.P_NOWAITO missing on win32?
<mattip> just those 3, all the other uppers are there
<mattip> just py3.6, on default they do exists
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8231 [ronan: force build, hpy]
xcm has joined #pypy
BPL has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8231 [ronan: force build, hpy]
YannickJadoul has quit [Remote host closed the connection]
Dejan has quit [Quit: Leaving]
speeder39_ has quit [Quit: Connection closed for inactivity]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
jacob22 has quit [Quit: Konversation terminated!]
jacob22 has joined #pypy
BPL has quit [Quit: Leaving]
oberstet has quit [Remote host closed the connection]
jcea has joined #pypy