[00:02] *** lucasb left [00:21] *** reach_satori joined [00:34] *** wildtrees left [00:36] *** Maylay left [00:38] *** Maylay joined [01:21] *** khisanth_ left [01:34] *** khisanth_ joined [01:58] *** molaf left [02:04] *** Manifest0 left [02:04] *** Manifest0 joined [02:10] *** molaf joined [02:27] *** Maylay left [02:29] *** Maylay joined [02:36] *** Maylay left [02:36] *** Maylay joined [02:40] *** Cabanossi left [02:41] *** Cabanossi joined [02:56] *** melezhik joined [02:56] Hi! When the first release of Raku ( new name ) is expected? I am trying to estimate when start to rewrite my code for Raku ... [03:01] *** Maylay left [03:02] looks like there is some information here - https://github.com/perl6/problem-solving/issues/118 [03:03] *** Maylay joined [03:03] *** rindolf left [03:04] *** melezhik left [03:08] *** Maylay left [03:10] *** Maylay joined [03:12] *** donpdonp joined [03:12] *** donpdonp left [03:26] *** Maylay left [03:27] *** Maylay joined [04:43] *** Cabanossi left [04:51] *** Cabanossi joined [04:57] *** rindolf joined [05:09] *** wamba joined [05:13] *** molaf left [05:17] *** [particle] left [05:22] *** [particle] joined [05:34] *** sauvin joined [05:57] *** Actualeyes left [05:57] *** Actualeyes joined [06:14] *** abraxxa joined [06:30] *** wamba left [06:35] *** domidumont joined [06:42] *** domidumont left [06:44] *** domidumont joined [06:52] *** Xliff joined [06:54] *** sena_kun joined [06:57] *** Xliff left [07:20] *** wamba joined [07:37] *** wamba left [07:44] *** marcusr left [07:45] *** marcusr joined [07:51] *** wamba joined [08:02] *** sarna joined [08:34] *** marcusr left [08:35] *** marcusr joined [09:55] *** domidumont left [09:57] *** zakharyas joined [10:02] *** rindolf left [10:05] *** cpan-raku left [10:06] *** cpan-raku joined [10:06] *** cpan-raku left [10:06] *** cpan-raku joined [10:08] *** rindolf joined [10:15] *** donaldh joined [10:22] *** sarna left [10:24] *** reach_satori left [10:37] *** zakharyas left [10:41] *** zakharyas joined [10:54] *** zakharyas1 joined [10:56] *** zakharyas left [11:12] *** marcusr left [11:13] *** marcusr joined [11:15] *** wamba left [11:18] *** xinming_ left [11:19] *** xinming_ joined [11:31] *** zakharyas1 left [11:34] *** xinming_ left [11:34] *** xinming_ joined [11:41] *** reach_satori joined [11:43] *** Cabanossi left [11:49] *** marcusr left [11:49] *** marcusr joined [11:56] *** Cabanossi joined [12:14] *** wamba joined [12:33] *** domidumont joined [12:46] *** reach_satori left [12:48] *** reach_satori joined [12:49] *** __jrjsmrtn__ joined [12:51] *** _jrjsmrtn left [12:55] *** wamba left [12:59] *** reach_satori_ joined [13:01] *** reach_satori left [13:01] *** wamba joined [13:07] *** wamba left [13:13] *** hythm joined [13:18] *** lucasb joined [13:31] *** molaf joined [13:49] *** finanalyst joined [13:50] Is there anyone here that could help me with an optimisation issue? I've written a new module to replace Pod::To::HTML but it is 3x slower, and I'm trying to work out why [13:53] sure [13:53] finanalyst: i'm the moarperf developer, so that's kind of sort of my job :P [13:56] great. I have run `time raku --doc=HTML small-prog` and got real:0.2ms, user:0.3s,sys:0.0ms, then run `time raku -Ilib --doc=HTML small-prog` and got r:2.1ms, u:3.2ms, s:0.1` [13:57] When I ran raku with --profile, however, the standard module uses more time than the new one [13:58] So, for standard 'The profiled code ran for 139.28ms', while new is 'The profiled code ran for 81.16ms' [13:59] ok, interesting [13:59] This indicates to me that my actual code is more efficient, but that it is calling an inefficient module (Template::Mustache) [13:59] can you try --stagestats to see if there's any precompilation going on? [13:59] the profiler should also show time spent in modules you're using [13:59] oh, also [13:59] the html profiler doesn't do multithreaded stuff [13:59] you'll want moarperf for that [14:00] timotimo: i'll try stagestats, but I can't find module information easilty, the graphs are a bit difficult to interpre [14:01] Both codes use a >> on the pod-tree, but for the simple files there is only one very short Pod::Block, so that should not affect performance [14:02] would you be willing to give moarperf a try? [14:02] I tried both on the largest pod file in docs/ but the same timing ratio seemed to be showing up, eg. my modules is 3x slower [14:03] By the way, I have handled double calls to render by the raku compiler using a state variable [14:04] timotimo: moarperf, sure. where and how to get/use it? [14:04] https://github.com/timo/moarperf/releases/tag/untagged-5c24c51440646d6875ae [14:04] it's a little cro app [14:04] you'll want to --profile=/tmp/profile.sql to get a compatible output file [14:04] or if your rakudo is a little older it'll be --profile --profile-filename=/tmp/profile.sql [14:04] looking [14:05] I have Rakudo version 2019.07.1 built on MoarVM version 2019.07.1 [14:05] do I need to update? [14:05] nope, that's new enough by far [14:06] timotimo: installation instruction? [14:06] "zef install --deps-only ." [14:07] if you want it faster --/tests will help [14:07] great [14:07] then perl6 -I. service.p6 /tmp/profile.sql [14:07] if you could check the readme and point out possible improvements, that'd be appreciated [14:07] maybe an INSTALLING file? [14:08] I'll look now. [14:09] *** zxcvz joined [14:18] *** zakharyas joined [14:22] *** abraxxa left [14:26] hi #perl6 :) [14:27] "PHP7 will release FFI at the end of _next_ month" :) and our lovely lang already have it for how many years ? :) https://www.phoronix.com/scan.php?page=news_item&px=PHP-7.4-FFI-Good-Shape [14:28] *** Imple joined [14:29] *** donaldh left [14:35] *** wamba joined [14:42] *** Imple left [14:50] *** Cabanossi left [14:56] timotimo: downloaded moarperf and will test and look at help etc. BUT also ran stagestats on both. Big difference [14:57] For standard module, stage parse: 0.133, for myMod, stage parse 2.128 [14:58] stage parse includes loading modules [14:58] in an even newer rakudo --stagestats will display other "nested" stagestats [14:58] like for modules that are precompiled on demand [14:59] https://gist.github.com/timo/7636a953266519f0d0a214056fabc9e1 - here's an example for moarperf [14:59] This found the answer mostly. I had a 'no precompilation' in one of my classes for debugging [14:59] perfect [15:00] Thank you! [15:01] you're very welcome [15:02] actually, the profiler could totally record the time-since-vm-start-when-profiling-was-initiated [15:02] and the frontend could suggest "hey btw the profiler only recorded the last 5% of execution time; maybe you want to check if compilation is slow?" [15:03] I think it would have helped if the information from stagestats could be included in the profiler overview [15:03] and like what you just said [15:15] *** zakharyas left [15:17] *** reach_satori_ left [15:30] *** patrickb joined [15:31] *** domidumont left [15:31] anyway i'm glad we got that sorted; finanalyst, how much faster is your new version? [15:47] *** wildtrees joined [16:28] *** hythm left [17:09] *** aborazmeh joined [17:09] *** aborazmeh left [17:09] *** aborazmeh joined [17:18] *** wamba left [17:23] *** aborazmeh left [17:27] *** gabiruh joined [17:29] *** Cabanossi joined [17:31] *** aborazmeh joined [17:31] *** aborazmeh left [17:31] *** aborazmeh joined [17:44] *** rindolf left [17:54] *** rindolf joined [18:01] *** kaare__ joined [18:24] *** sauvin left [18:28] *** molaf left [18:36] *** aborazmeh left [18:45] *** gabiruh left [18:45] *** gabiruh joined [19:04] *** xinming_ left [19:05] *** xinming_ joined [19:08] *** rindolf left [19:38] *** xkr47 joined [19:40] *** Doc_Holliwood joined [19:42] *** hythm joined [20:02] *** Actualeyes left [20:14] *** jjatria left [20:14] *** jjatria joined [20:15] *** jjatria left [20:16] *** sena_kun left [20:16] *** jjatria joined [20:16] *** releasable6 left [20:17] *** cpan-raku left [20:17] *** cpan-raku joined [20:17] *** cpan-raku left [20:17] *** cpan-raku joined [20:17] *** jjatria left [20:17] *** jjatria joined [20:21] *** greppable6_ joined [20:21] *** greppable6_ left [20:25] *** releasable6 joined [20:25] *** wamba joined [20:42] *** krychu_ joined [20:43] *** xkr47 left [20:46] *** molaf joined [21:15] *** hythm left [21:29] *** xkr47 joined [22:11] *** pecastro joined [22:12] *** Guest51 joined [22:12] *** Guest51 left [22:24] *** finanalyst left [22:29] *** krychu_ left [22:43] *** SCHAPiE joined [22:47] *** wildtrees left [22:48] *** patrickb left [22:58] *** khisanth_ left [23:06] *** pecastro left [23:17] *** khisanth_ joined [23:17] *** redable joined [23:19] *** redable left [23:21] *** redable joined [23:23] *** redable left [23:27] *** redable joined [23:28] *** redable left [23:31] *** redable joined [23:32] *** redable left [23:33] *** redable joined [23:33] *** redable left [23:47] *** redable joined [23:53] *** Actualeyes joined