Re: [perl #127330] [SLOW] 10_000 lines with 「say ‘a’;」 take 16 seconds to run

2017-10-11 Thread zof...@zoffix.com via RT
Quoting Parrot Raiser <1parr...@gmail.com>: > Round trips to the OS, like repeated "says", have been slow relative > to internal processes since the dawn of time. In this case, there are no trips. It's the *parsing* time that's slow. In fact, if you change it to `$ = ‘a’;` it's equally slow.

Re: [perl #127330] [SLOW] 10_000 lines with 「say ‘a’;」 take 16 seconds to run

2017-10-11 Thread zoffix
Quoting Parrot Raiser <1parr...@gmail.com>: Round trips to the OS, like repeated "says", have been slow relative to internal processes since the dawn of time. In this case, there are no trips. It's the *parsing* time that's slow. In fact, if you change it to `$ = ‘a’;` it's equally slow.

Re: [perl #127330] [SLOW] 10_000 lines with 「say ‘a’;」 take 16 seconds to run

2017-10-11 Thread Aleks-Daniel Jakimenko-Aleksejev
Your comment makes no sense because almost all of that time is spent on the compilation. Have you tried --stagestats like suggested above? On Wed, Oct 11, 2017 at 7:43 PM, Parrot Raiser <1parr...@gmail.com> wrote: > Round trips to the OS, like repeated "says", have been slow relative > to interna

Re: [perl #127330] [SLOW] 10_000 lines with 「say ‘a’;」 take 16 seconds to run

2017-10-11 Thread Parrot Raiser
Round trips to the OS, like repeated "says", have been slow relative to internal processes since the dawn of time.

Re: [perl #127330] [SLOW] 10_000 lines with 「say ‘a’;」 take 16 seconds to run

2016-02-03 Thread Bart Wiegmans
Yes, precompilation will help. Although we're not ready to make true or fake executables yet, you can compile to the moarvm bytecode file: perl6 --target=mbc --output=print.moarvm print.p6 But, this crashes during deserialization for me, so I'm not sure if that can be made to work as it stands. Re

Re: [perl #127330] [SLOW] 10_000 lines with 「say ‘a’;」 take 16 seconds to run

2016-01-21 Thread Elizabeth Mattijsen
> On 21 Jan 2016, at 00:42, Alex Jakimenko (via RT) > wrote: > > # New Ticket Created by Alex Jakimenko > # Please include the string: [perl #127330] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=127330 > > > > Create