Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2016-03-15

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 timotimo just a little "general" spesh log viewing shows we have a lot of objects from wvals that don't have a debug_name set. i'm *expecting* those are things that come from nqp, but i can't know until i try a fresh stage0
00:04 timotimo it could also be i'm missing some *HOW that should also get the setdebugtypename treatment
00:04 timotimo how about EnumHOW for example?
00:04 timotimo i can just look that up!
00:06 timotimo it could be the setdebugtypename thing wants to live in Perl6::Metamodel::Naming
00:06 timotimo instead of the ClassHOW where it currently resides
00:14 timotimo https://gist.github.com/timo/1693af31a1315a56cbf2  -  some example output
00:21 timotimo i get much more outputs now that i also have it in nqp
00:22 timotimo +      wval              r3(1), liti16(0), liti16(7) (P6opaque: Perl6::Actions+{HAS-decl-actions})
00:22 timotimo +      wval              r5(1), liti16(0), liti16(7) (P6opaque: Perl6::QGrammar+{q}+{postproc}+{postproc}+{startstop})
00:24 timotimo another data point about things: with a doubled multi dispatch cache i don't get the "without precompiled things, the find_best_dispatchee stuff gets everywhere" behavior any more
00:43 timotimo a stage0 update right now will up the stage0 size from 2593K to 2554K (+/- 11K rounding errors)
00:45 ggoebel16 joined #moarvm
00:45 timotimo hm. our nqp code already goes through a fudger that looks out for #? stuff; maybe we could have a #?if stage2 so we don't have to bumb the stage0 every time we add new ops and want to use them inside nqp
00:46 timotimo though we may need an additional stage at the end if we have something like that
00:46 timotimo if we really want the code that compiles the nqp to be the code that compiled the nqp that compiles the code
02:00 mojca joined #moarvm
02:24 vendethiel joined #moarvm
02:48 ilbot3 joined #moarvm
02:48 Topic for #moarvm is now https://github.com/moarvm/moarvm | IRC logs at  http://irclog.perlgeek.de/moarvm/today
02:53 TimToady joined #moarvm
03:20 mojca joined #moarvm
03:35 geekosaur joined #moarvm
03:39 cognominal joined #moarvm
03:53 cognominal joined #moarvm
07:02 domidumont joined #moarvm
07:07 domidumont joined #moarvm
07:09 FROGGS joined #moarvm
08:28 zakharyas joined #moarvm
09:58 cognominal joined #moarvm
10:18 cognominal joined #moarvm
11:08 cognominal joined #moarvm
11:23 cognominal joined #moarvm
11:54 cognominal joined #moarvm
13:24 cognominal joined #moarvm
13:29 ilbot3 joined #moarvm
13:29 Topic for #moarvm is now https://github.com/moarvm/moarvm | IRC logs at  http://irclog.perlgeek.de/moarvm/today
13:36 camelia joined #moarvm
13:50 timotimo so far i've only considered the effect of making p6opaque smaller in its serialized form on the core setting, but maybe it'd be much more interesting for the stage0?
13:58 vendethiel joined #moarvm
14:16 mojca joined #moarvm
14:32 zakharyas joined #moarvm
15:19 hoelzro I'm reading jnthn++ 's latest post on 6guts; nice trick with the lazy tospace allocation!
15:20 jnthn :)
15:20 jnthn I thought that was the most boring of the changes :)
15:21 timotimo hehe.
15:23 hoelzro it's something I never would have thought to do, but makes *so* much sense once having read it
15:23 hoelzro that's what makes it so nice =)
15:27 cognominal joined #moarvm
15:27 timotimo Introduce a new callchain mode: folded ( perf report -g folded) to print callchains in a line, facilitating perf report output processing by other tools, such as Brendan Gregg's flamegraph tools commit, commit, commit
15:28 timotimo ^- something added in linux 4.5, which was just released on sunday
16:04 TimToady joined #moarvm
16:04 dalek joined #moarvm
16:05 dalek MoarVM: 3c7ee6e | jnthn++ | src/ (5 files):
16:05 dalek MoarVM: Don't keep around barely-used bytecode maps.
16:05 dalek MoarVM:
16:05 dalek MoarVM: These essentially doubled the amount of space we used for bytecode
16:05 dalek MoarVM: of frames that we actually ran, by keeping around a table noting if
16:05 dalek MoarVM: each byte was the start of an instruction. This was used for the low
16:05 dalek MoarVM: level backtraces to give an accurate instruction offset and...that's
16:05 dalek MoarVM: all!
16:05 dalek MoarVM:
16:05 dalek MoarVM: I can't remember the last time I debugged something using that index.
16:05 dalek MoarVM: Worse, it's misleading because it doesn't actually factor in that we
16:05 dalek MoarVM: may be in some specialization of the bytecode. So, tossed it for now.
16:20 [Coke] aw, lost the commit line.
16:37 dalek MoarVM: 44fcdb3 | jnthn++ | src/ (4 files):
16:37 dalek MoarVM: Only allocate instrumentation state if needed.
16:37 dalek MoarVM:
16:37 dalek MoarVM: We only need to keep it when profiling, doing cross-thread write logs,
16:37 dalek MoarVM: and so forth. This cuts the size of static frames down by 5 pointers
16:37 dalek MoarVM: each. On the empty loop program, 144KB saving for NQP and 1,036KB for
16:37 dalek MoarVM: Rakudo.
16:37 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/44fcdb3504
16:55 cognominal joined #moarvm
17:01 dalek MoarVM: 457df7c | jnthn++ | src/instrument/crossthreadwrite.c:
17:01 dalek MoarVM: Fix thinko in an earlier refactor.
17:01 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/457df7c76b
17:01 dalek MoarVM: 99bf383 | jnthn++ | src/6model/reprs/MVMMultiCache.h:
17:01 dalek MoarVM: Boost size of multi-dispatch cache.
17:01 dalek MoarVM:
17:01 dalek MoarVM: After finding even simple programs could sometimes end up overflowing
17:01 dalek MoarVM: it in some cases. This alone cuts 40% off a benchmark submitted by
17:01 dalek MoarVM: RabidGravy++ doing sine wave generation.
17:01 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/99bf383cb1
17:29 vendethiel joined #moarvm
17:49 vendethiel joined #moarvm
18:04 diakopter o_O
18:10 diakopter jnthn: yes, the instruction offset was helpful .. early on :D
18:10 diakopter (but not since)
18:11 FROGGS joined #moarvm
18:18 patrickz joined #moarvm
18:30 domidumont joined #moarvm
18:33 vendethiel joined #moarvm
19:36 dalek joined #moarvm
20:10 cognominal joined #moarvm
20:11 cognominal joined #moarvm
20:22 zakharyas joined #moarvm
20:28 domidumont joined #moarvm
20:55 cognominal joined #moarvm
21:22 zakharyas joined #moarvm
22:01 zakharyas joined #moarvm
22:57 mojca joined #moarvm

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary