github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
00:16 lizmat left 03:49 MasterDuke left 05:46 AlexDani` joined 05:47 p6bannerbot sets mode: +v AlexDani` 05:51 AlexDaniel left 06:06 domidumont joined 06:07 p6bannerbot sets mode: +v domidumont, brrt joined 06:08 p6bannerbot sets mode: +v brrt
nine japhb: about 1.325G on master 06:11
06:12 fake_space_whale left
japhb nine: Ah, so not huge yet, but still a decent improvement. 06:12
brrt \o
nine++ 06:13
all measurement statrs unscientific :-)
06:13 zakharyas joined
brrt oh, hey, I may have to handle nativeinvoke_o as well 06:14
06:14 p6bannerbot sets mode: +v zakharyas 06:16 zakharyas left 06:18 zakharyas joined, p6bannerbot sets mode: +v zakharyas 06:44 patrickb joined, p6bannerbot sets mode: +v patrickb 06:50 zakharyas left 07:04 brrt left 07:08 zakharyas joined 07:09 p6bannerbot sets mode: +v zakharyas 07:35 Kaiepi left 07:39 Kaiepi joined 07:40 p6bannerbot sets mode: +v Kaiepi 08:01 zakharyas left 08:04 zakharyas joined 08:05 p6bannerbot sets mode: +v zakharyas 08:07 zakharyas left 08:46 lizmat joined, p6bannerbot sets mode: +v lizmat 09:38 robertle joined 09:39 p6bannerbot sets mode: +v robertle
timotimo it'd be interesting to find out the percentage of memory usage from managed vs unmanaged data there 11:23
yoleaux 09:22Z <jnthn> timotimo: www.collinsdictionary.com/dictiona...a-good-job
timotimo since managed data will be accessed by GC runs, whereas unmanaged data will only be used when the code that "uses" it runs
11:24 brrt joined 11:25 p6bannerbot sets mode: +v brrt
brrt \o 11:34
nwc10 o/ 11:36
timotimo \o
brrt ohai everyone
I think I need non-opcode template support... 11:39
i.e. templates that aren't specific to opcodes 11:42
nwc10 somehow managed to misead that as "I think I need chocolate"
brrt :-)
timotimo how would those get inserted? 11:44
brrt a special purpose tree building routine would choose them 11:47
e.g. you'd get something like 'template = MVM_jit_template_lookup(tc, MVM_JIT_TEMPLATE_MARK_BLOCKED);'
timotimo so more comparable to tiles rather than templates?
brrt and then you'd apply that template to the tree
well, they're still templates 11:48
11:49 ZzZombo joined, p6bannerbot sets mode: +v ZzZombo 12:29 fake_space_whale joined 12:30 p6bannerbot sets mode: +v fake_space_whale 13:13 AlexDani` is now known as AlexDaniel 13:18 reportable6 left, reportable6 joined 13:19 p6bannerbot sets mode: +v reportable6
timotimo i kind of wish we could have more nqp ops pointed out in the profile, but it'd be an extreme overhead to do it for all, and i'm not sure how to select which would be good to instrument etc etc 14:30
lizmat extreme maint overhead or execution overhead ? 14:43
timotimo execution overhead
lizmat still, for some extreme case, this could be very worthwhile provided it doesn't interfere with actual measurements ? 14:44
nine Err...how do I flatten an array into a call's arguments in NQP? 14:45
timotimo yeah, but actual measurement will definitely be interfered with 14:47
we already have pidm aps for perf, but it doesn't understand the output of the jit on a level that'd let you count hits for individual nqp ops 14:48
and of course the exprjit can cause nqp ops to kind of become fuzzy and semi-merged
lizmat
.oO( damn that chap Heisenberg )
nine Ah, same as in Perl 6 actually :) 14:49
lizmat sometimes NQP is QP :-)
timotimo and sometimes NQP is QWOP
jnthn It took me ages to figure out that pidm aps are :P 14:51
brrt yeah, me too :-D 14:52
we'll get to ELF support sometime :-) 14:54
(and once that's done, I'll be mapping MBC to ELF. and once *that* is done, static linking?) 14:55
lizmat jnthn: do we keep a cache of descriptors for hashes ?
I have a solution for github.com/rakudo/rakudo/issues/2348 14:56
but it creates a new Descriptor for each new Hash
well, one created with Hash.new 14:57
timotimo oops :) 15:00
jnthn lizmat: No, not as of yet
lizmat ok, so that part should be fine then :-) 15:01
15:03 brrt left 15:29 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 15:30 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 15:34 domidumont left 15:45 patrickb left 16:03 robertle left
nine And there go some 3 seconds :) 16:13
jnthn :)
What from? :) 16:14
nine From stage MAST
jnthn Yeah, I meant thanks to new binary writing ops, or something else? :)
nine I remembered that back when I still got profiles of the code compile_operand stood out. So instead of having that process operands based on opcode information, I have update_ops.p6 generate a generator sub for each op. No need to check types and flags when you have tailored code 16:16
Also this lets me move a couple of sanity checks to those generated subs' signatures
The 3 seconds are from plugging this into MAST::Op.new_with_operand_array. So there's still quite some indirection and some places that still go through compile_operand 16:17
jnthn :) 16:19
16:19 brrt joined 16:20 p6bannerbot sets mode: +v brrt 16:40 domidumont joined 16:41 p6bannerbot sets mode: +v domidumont 17:12 patrickb joined 17:13 p6bannerbot sets mode: +v patrickb 18:07 brrt left 18:11 domidumont left 18:13 domidumont joined 18:14 p6bannerbot sets mode: +v domidumont 18:16 domidumont left 18:55 ggoebel left 19:07 ggoebel joined 19:08 p6bannerbot sets mode: +v ggoebel 19:15 MasterDuke left 19:28 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 19:29 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 19:35 AlexDaniel left, AlexDaniel joined 19:36 p6bannerbot sets mode: +v AlexDaniel 21:23 patrickb left
lizmat And another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2018/10/08/...ed-the-js/ 21:47