antocuni changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "PyPy: the Gradual Reduction of Magic (tm)"
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
exarkun has quit [Ping timeout: 248 seconds]
antocuni has quit [Ping timeout: 260 seconds]
exarkun has joined #pypy
yuyichao_ has quit [Ping timeout: 268 seconds]
yuyichao_ has joined #pypy
marr has quit [Ping timeout: 255 seconds]
marky1991 has joined #pypy
songww has joined #pypy
slacky has quit [Ping timeout: 248 seconds]
jcea has quit [Quit: jcea]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pilne has quit [Quit: Quitting!]
ArneBab_ has joined #pypy
ArneBab_ has quit [Changing host]
ArneBab_ has joined #pypy
ArneBab has quit [Ping timeout: 264 seconds]
slacky has joined #pypy
slacky has quit [Ping timeout: 248 seconds]
kushal has quit [Ping timeout: 240 seconds]
kushal has joined #pypy
kushal is now known as Guest78064
slacky has joined #pypy
slacky has quit [Ping timeout: 240 seconds]
jamesaxl has joined #pypy
Nizumzen has joined #pypy
astronavt has joined #pypy
slacky has joined #pypy
slacky has quit [Ping timeout: 276 seconds]
zmt00 has quit [Quit: Leaving]
slacky has joined #pypy
slacky has quit [Ping timeout: 248 seconds]
songww_ has joined #pypy
songww has quit [Ping timeout: 268 seconds]
songww_ is now known as songww
slacky has joined #pypy
slacky has quit [Ping timeout: 276 seconds]
hubert0 has joined #pypy
hubert0 has quit [Remote host closed the connection]
hubert0 has joined #pypy
marky1991 has quit [Ping timeout: 268 seconds]
<kenaan> mattip win32-vcvars 7f64b9246539 /rpython/translator/platform/windows.py: maybe fix?
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/18 [mattip: force build, iwn32-vcvars]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/18 [mattip: force build, iwn32-vcvars]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/19 [mattip: force build, win32-vcvars]
songww has quit [Remote host closed the connection]
songww has joined #pypy
Nizumzen has quit [Ping timeout: 240 seconds]
<bbot2> Exception: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/19 [mattip: force build, win32-vcvars]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/20 [mattip: force build, win32-vcvars]
<kenaan> mattip win32-vcvars 5d23987c65b3 /rpython/translator/platform/windows.py: typo
<bbot2> Exception: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/20 [mattip: force build, win32-vcvars]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/21 [mattip: force build, win32-vcvars]
slacky has joined #pypy
<kenaan> mattip win32-vcvars b6119a8ea747 /pypy/doc/whatsnew-head.rst: both build slaves seem happy
<kenaan> mattip default d1aaa6aca19d /: merge win32-vcvars, log more and try vsvars32 before vcvars32, go figure
<mattip> all this vcvars crap is so broken
slacky has quit [Ping timeout: 240 seconds]
marr has joined #pypy
mattip has left #pypy ["bye"]
Nizumzen has joined #pypy
Nizumzen has quit [Client Quit]
Nizumzen has joined #pypy
Joannah has joined #pypy
slacky has joined #pypy
Joannah has quit [Ping timeout: 260 seconds]
antocuni has joined #pypy
slacky has quit [Ping timeout: 248 seconds]
slacky has joined #pypy
slacky has quit [Ping timeout: 255 seconds]
antocuni has quit [Ping timeout: 248 seconds]
slacky has joined #pypy
astronavt has quit [Remote host closed the connection]
jcea has joined #pypy
raynold has quit [Quit: Connection closed for inactivity]
songww has quit [Read error: Connection reset by peer]
songww has joined #pypy
songww has quit [Remote host closed the connection]
Rhy0lite has joined #pypy
antocuni has joined #pypy
<antocuni> I'm trying to understand how much time gc-collect-step takes
<antocuni> is there any standard and/or blessed way to convert PYPYLOG timestamps into seconds?
<fijal> antocuni: look into logparser
<fijal> It'll show you in %not seconds
<fijal> Tho
<fijal> (it's a tick which means you divide by CPU frequency)
mattip has joined #pypy
<antocuni> so to know the actual seconds I need to know the frequency?
<cfbolz> you can't. it's changing too much
<antocuni> ah :(
<mattip> kind of stuck in numpy. I got the updateifcopy flag refactored out of the ndarray dealloc, but was left with what to do with nditer
<antocuni> "Recent Intel processors include a constant rate TSC (identified by the kern.timecounter.invariant_tsc sysctl on FreeBSD or by the "constant_tsc" flag in Linux's /proc/cpuinfo). With these processors, the TSC ticks at the processor's nominal frequency, regardless of the actual CPU clock frequency"
<mattip> specifically what happens if an nditer creates operands with updateifcopy semantics
<mattip> so I thought, OK, context manager and started a pull request
<antocuni> so in theory, I should just divide by the nominal frequency of my CPU
<mattip> but the operands leak out
<mattip> after closing the iterator, the operand and the view are still "alive" but invalid
<mattip> much like a file or socket after closing. But an ndarray has no "open/closed" status
<mattip> any bright ideas?
<antocuni> cfbolz: indeed, it seems pretty accurate: I tried to measure both a time.sleep(10) and a busy loop of 10 seconds, so that in theory the CPU should scale the frequency
<antocuni> and I get more or less the same value (99.6% of accuracy), which is 2.7Ghz*10
<antocuni> good to know, I suppose :)
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/21 [mattip: force build, win32-vcvars]
<cfbolz> antocuni: cool
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<kenaan> cfbolz default a805f563cfd0 /rpython/jit/metainterp/optimizeopt/: - hypothesis tests for the IntBound methods - lighgly refactor optimization of some int_ ops to make hypothesis te...
adamholmberg has joined #pypy
<cfbolz> mattip: in cpython this all depends on refcounts?
<mattip> correct. NumPy has this concept of a scratch buffer that can be attached to a ndarray, and the condition to write the temp data from the scratch buffer back to the main data was dealloc
<mattip> now I made a function to be called just before dealloc that does the writeback
<mattip> so you have to keeep track of "the last known ref to the ndarray with scratch buffer"
<mattip> the concept only leaks out of C level numpy in nditer
<mattip> if you have time you can read the whole history of the nditer saga here
<mattip> but that pastebin above summarizes the situation best (refactor of the last comment in the pull request)
tormoz has quit [Remote host closed the connection]
tormoz has joined #pypy
marky1991 has quit [Remote host closed the connection]
<cfbolz> mattip: this all sounds very annoying indeed :-(
<mattip> the most annoying thing is nditer is a very rarely used corner of numpy, with an enormous api
<mattip> IMO the best thing to do would be to deprecate most of it, if not all
<mattip> but that is impractical
hubert0 has quit [Remote host closed the connection]
<mattip> kind of like trying to deprecate micronumpy, the only way to find out if someone cares is to remove it
hubert0 has joined #pypy
tormoz has quit [Remote host closed the connection]
* cfbolz -> teaching
tormoz has joined #pypy
hubert0 has quit [Ping timeout: 252 seconds]
marky1991 has joined #pypy
mattip has left #pypy ["bye"]
yuyichao_ has quit [Ping timeout: 276 seconds]
yuyichao_ has joined #pypy
adamholmberg has quit [Read error: No route to host]
adamholmberg has joined #pypy
<kenaan> antocuni fix-vmprof-stacklet-switch-2 37b5a39510e7 /pypy/module/_continuation/test/test_stacklet.py: skip this when run with -A
<kenaan> antocuni fix-vmprof-stacklet-switch-2 4776dc8a84f7 /pypy/module/_continuation/test/test_translated.py: simplify
<kenaan> antocuni fix-vmprof-stacklet-switch-2 9ac249e058e3 /: add a test which checks that vmprof is actually enabled inside greenlets; it fails on defau...
<kenaan> antocuni fix-vmprof-stacklet-switch-2 f7fa5a2b8f51 /pypy/doc/whatsnew-head.rst: document this branch
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5108 [antocuni: force build, fix-vmprof-stacklet-switch-2]
<fijal> cfbolz, antocuni: if you're running at 100% CPU it should really be the nominal cpu
<fijal> Regardless of settings
<antocuni> fijal: yes, but the nice thing I discovered is that on "modern" CPUs, it is always incremented at the nominal frequency
<cfbolz> fijal: no, it's really not that simple any more
<cfbolz> But yes, seems you can get useful numbers anyway
nunatak has joined #pypy
mattip has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6403 [fijal: force build, unicode-utf8]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6403 [fijal: force build, unicode-utf8]
demonimin has quit [Remote host closed the connection]
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5108 [antocuni: force build, fix-vmprof-stacklet-switch-2]
demonimin has joined #pypy
tbodt has joined #pypy
zmt00 has joined #pypy
Nizumzen has quit [Ping timeout: 240 seconds]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Nizumzen has joined #pypy
tbodt has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest78064 is now known as kushal
kushal has quit [Changing host]
kushal has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
marr has quit [Remote host closed the connection]
marky1991 has quit [Ping timeout: 252 seconds]
<kenaan> rlamy default b2e4b128808e /pypy/module/_io/: Improve interp-level test and fix bugs in W_TextIOWrapper.readline_w()
drolando has joined #pypy
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
<kenaan> rlamy py3.5 fcf5d3fb56f4 /: hg merge default
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marky1991 has quit [Ping timeout: 248 seconds]
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
drolando has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Changing host]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
antocuni has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
kanaka has joined #pypy
kanaka has quit [Changing host]
kanaka has joined #pypy
raynold has joined #pypy
Rhy0lite has quit [Quit: Leaving]
hubert0 has joined #pypy
marr has joined #pypy
jamesaxl has quit [Quit: WeeChat 1.9.1]
hubert0 has quit [Remote host closed the connection]
hubert0 has joined #pypy
hubert0 has quit [Ping timeout: 240 seconds]
astronavt has joined #pypy
mattip has left #pypy ["bye"]
astronavt has quit [Remote host closed the connection]
astronavt has joined #pypy
astronavt has quit [Remote host closed the connection]
marky1991 has quit [Ping timeout: 252 seconds]
nunatak has quit [Quit: Leaving]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
marky1991 has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
drolando has joined #pypy
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
<runciter> i'd like the ubuntu pypy PPA (https://launchpad.net/~pypy/+archive/ubuntu/ppa) to have PyPy 5.9
<runciter> can i help make that happen?
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
<fijal> tumbleweed: ^^^
<fijal> runciter: that's the person to pester
<runciter> fijal: ty!
<runciter> tumbleweed: let me know if i can help update the PPA to PyPy 5.9
dcrosta has joined #pypy
marky1991 has quit [Ping timeout: 248 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 255 seconds]
pilne has joined #pypy