develooper Front page | perl.perl6.users | Postings from August 2020

Re: Any sign of a fix for the 10 second compile time?

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
August 1, 2020 00:08
Subject:
Re: Any sign of a fix for the 10 second compile time?
Message ID:
f2d2de81-b996-9b1c-52e1-3ce0df560204@zoho.com
On 2020-07-31 16:40, Tom Browder wrote:
> On Fri, Jul 31, 2020 at 5:38 PM ToddAndMargo via perl6-users
> <perl6-users@perl.org> wrote:
>>>> Todd, a couple of questions:
>>>> 1. In your modules that change all the time, do have "use lib ...;"
>>>> statements in any of them?
>>>
>>> No.  If I do, they crash
>>
>> # use lib '/home/linuxutil/p6lib';   # may not be precompiled; calling
>> program must take care of this
> 
> 
> Just for "-O fun", set up your modules as if they were to be public,
> i.e., add a META6.jso for the module collection.
> The collection being "/path/to/MyModules" and in MyModules create:
> 
>       META6.json # create it and add all your modules in it just like
> you were going to publish the whole mess.
>       ./lib/
>          # my modules as moved or duped from "/home/linuxutil/p6lib"
>       t/
>          00-meta-test.t # some basic test to check your META6.json file
> 
> Then, in dir "/path/to/MyModules" try:
> 
>      $ zef install .  # <== that's a DOT/PERIOD, i.e., the current directory
> 
> If that works, then you should be able to "use" them from your program.
> 
> -Tom
> 



Hi Tom,

I am really after is what I originally asked.  Is this
issue any closer to being solved?  And is there
a bug I can get myself Cc'ed on to.

When I get a chance at it again, I will
will look into the workaround.  Thank you.

What compiles in 1/2 seconds on Perl 5 should not
take 18 seconds on Perl 6.

It is the "parse" stage this is the issue.

$ time raku --stagestats -c GetUpdates.pl6
Stage start      :   0.000
Stage parse      :  18.405
Stage syntaxcheck: Syntax OK

real	0m18.449s
user	0m20.673s
sys	0m0.223s

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About