On Sun, 5 Aug 2018, 23:45 Elizabeth Mattijsen, <l...@wenzperl.nl
<mailto:l...@wenzperl.nl>> wrote:
> On 1 Aug 2018, at 20:14, ToddAndMargo <toddandma...@zoho.com
<mailto:toddandma...@zoho.com>> wrote:
> Is it just me or does Perl 6 take about three times as long to
> start up as Perl 5? I do have a very fast machine and it takes
> about seven see for some of my Perl 6 stuff to get past the
> ruminating phase and start running.
Seven seconds? Seven? That seems *very* long indeed.
How long does it take to do:
perl6 -e ‘’
? That should be in the order of 130 msecs. If that’s the case,
then you’re probably doing a lot of grammar changes to Perl 6. But
without the actual code, this remains guessing.
> Any workaround for this, or is this just growing pains for Perl 6?
Not sure :-)
Liz
--
Simon Proctor
Cognoscite aliquid novum cotidie
On 08/05/2018 10:57 PM, Simon Proctor wrote:
Have you tried running with --stagestats which gives you a break down of
where the time is being spent?
On thing is if you are running large script files it came take a while.
Moving your code into modules, which get precompiled can give a
significant speed boost.
Does this tell you anything?
$ curl --fail --head https://google.com; echo $?
HTTP/2 301
location: https://www.google.com/
content-type: text/html; charset=UTF-8
date: Mon, 06 Aug 2018 05:19:51 GMT
expires: Wed, 05 Sep 2018 05:19:51 GMT
cache-control: public, max-age=2592000
server: gws
content-length: 220
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
alt-svc: quic=":443"; ma=2592000; v="44,43,39,35"
0