Slow???

2023-08-17 Thread ToddAndMargo via perl6-users
Hi All Fedora 38 $ raku -v Welcome to Rakudo™ v2023.06. Implementing the Raku® Programming Language v6.d. Built on MoarVM version 2023.06. Has the compiler gotten really, really, really slow lately? What normally takes 8 seconds is now dragging on for minutes, $ raku -c GetUpdates.pl6

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/28/19 4:26 PM, ToddAndMargo via perl6-users wrote: On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks

Re: Why so slow

2019-04-28 Thread Joseph Brenner
Brad Gilbert wrote: > For one it has the following line: > > use lib 'lib'; > > That is going to slow everything down if you have anything in the > `lib` directory. > The more things in that directory, the slower it will get. I've been seeing some pretty slow perl6

Re: Why so slow

2019-04-28 Thread Joseph Brenner
ToddAndMargo via perl6-users wrote: > David Christensen wrote: >> We discussed this at our San Francisco Perl Mongers meeting today: > > Any Perl 5 guys there? And did they get "grouchy" with you > for using Perl 6? We've been doing an "Informal Perl6 Study Group" over at the Oakland Museum

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/28/19 2:21 AM, Timo Paulssen wrote: the strace command ended up only tracing the shell script "perl6", which very quickly execs moar, at which point strace considers its job done. there was barely any output at all for that reason. fortunately we can just add -f to the strace command so

Re: Why so slow

2019-04-28 Thread Timo Paulssen
the strace command ended up only tracing the shell script "perl6", which very quickly execs moar, at which point strace considers its job done. there was barely any output at all for that reason. fortunately we can just add -f to the strace command so that it follows processes as they are

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/27/19 10:40 PM, David Christensen wrote: We discussed this at our San Francisco Perl Mongers meeting today: Any Perl 5 guys there? And did they get "grouchy" with you for using Perl 6? Did they call Perl 6 "Java" by any chance? Chuckle.

Re: Why so slow

2019-04-28 Thread David Christensen
On 4/27/19 10:40 PM, David Christensen wrote: I suggested that he install the official package: https://rakudo.org/files The Rakudo site is degraded: "Currently, rakudo.org is being served from a back-up server that doesn't have the download files." I had previously downloaded

Re: Why so slow

2019-04-28 Thread David Christensen
On 4/28/19 12:07 AM, Timo Paulssen wrote: I'm writing a program called moarperf, which is a local web app written in Cro that doesn't touch the network outside of loopback. It just has to build its JavaScript blobs once by downloading like a brazillion libraries from npm. That should be

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/28/19 12:01 AM, Timo Paulssen wrote: especially if it iterates your entire home directory Don't think so $ rm -rf ~/.perl6/precomp $ perl6 --stagestats GetUpdates.pl6 Stage start : 0.000 Stage parse : 13.201 Stage syntaxcheck: 0.000 Stage ast: 0.000 Stage

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
Hi Timo, This tell you anything? $ perl6 --stagestats GetUpdates.pl6 Stage start  :   0.000 Stage parse  :  13.150 Stage syntaxcheck:   0.000 Stage ast    :   0.000 Stage optimize   :   0.351 Stage mast   :   1.133 Stage mbc    :   0.019 Stage moar   :   0.000

Re: Why so slow

2019-04-28 Thread Timo Paulssen
sis. HTH   - Timo On 28/04/2019 08:41, ToddAndMargo via perl6-users wrote: > On 21/04/2019 05:58, ToddAndMargo via perl6-users wrote:>> Hi All, >> >> One liners are fast, but my own programs are very slow to start. >> >> I download >> >> https://githu

Re: Why so slow

2019-04-28 Thread David Christensen
On 21/04/2019 05:58, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. >> What gives?

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
> On 21/04/2019 05:58, ToddAndMargo via perl6-users wrote:>> Hi All, >> >> One liners are fast, but my own programs are very slow to start. >> >> I download >> >> https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 >> >&

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/27/19 10:40 PM, David Christensen wrote: What is your operating system? Fedora 29 x64 Xfce 4.13 $ uname -r 5.0.7-200.fc29.x86_64 What is your Perl 6? $ rpm -qa rakudo rakudo-0.2019.03-1.fc29.x86_64 Also tried: https://github.com/nxadm/rakudo-pkg/releases

Re: Why so slow

2019-04-28 Thread Timo Paulssen
ur browser to get an interactive performance inspection tool thingie. Be aware, though, that it can become very big in the case of --profile-compile, depending on the structure of the program being compiled. Hope any of that helps   - Timo On 21/04/2019 05:58, ToddAndMargo via perl6-users wrot

Re: Why so slow

2019-04-27 Thread David Christensen
On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks

Re: Why so slow

2019-04-27 Thread Brad Gilbert
t; 1. All problems in computer science can be solved with a layer of indirection. > 2. Many layers of indirection make programs slow. > 3. Perl 6 solves many computer science problems for you ;-) >. In the future, we'll continue to solve those problems, just faster. Basically, even minor thi

Re: Why so slow

2019-04-27 Thread ToddAndMargo via perl6-users
On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks

Re: Why so slow

2019-04-24 Thread ToddAndMargo via perl6-users
Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks, -T On 4/24/19 5:13 AM, Brad Gilbert wrote:> For

Re: Why so slow

2019-04-24 Thread Brad Gilbert
For one it has the following line: use lib 'lib'; That is going to slow everything down if you have anything in the `lib` directory. The more things in that directory, the slower it will get. You should really install the modules with `zef`. (It can download and install the modules itself

Why so slow

2019-04-24 Thread ToddAndMargo via perl6-users
Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks, -T

Re: Why so slow?

2019-04-23 Thread ToddAndMargo via perl6-users
On 4/21/19 6:32 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks

Re: Why so slow?

2019-04-23 Thread ToddAndMargo via perl6-users
On 4/22/19 4:21 AM, ToddAndMargo via perl6-users wrote: On 22/04/2019 12:51, ToddAndMargo via perl6-users wrote: On 22/04/2019 03:32, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple

Re: Why so slow?

2019-04-22 Thread ToddAndMargo via perl6-users
On 22/04/2019 12:51, ToddAndMargo via perl6-users wrote: On 22/04/2019 03:32, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out

Re: Why so slow?

2019-04-22 Thread Timo Paulssen
;>>> One liners are fast, but my own programs are very slow to start. >>>> >>>> I download >>>> >>>> https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 >>>> >>>> To check it out and it also takes ten secon

Re: Why so slow?

2019-04-22 Thread ToddAndMargo via perl6-users
On 22/04/2019 03:32, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks

Re: Why so slow?

2019-04-22 Thread Timo Paulssen
.") and removed the line "use lib 'lib';", it might start a lot faster when you run it the second time. Hope that helps!   - Timo On 22/04/2019 03:32, ToddAndMargo via perl6-users wrote: > Hi All, > > One liners are fast, but my own programs are very slow to start. > >

Why so slow?

2019-04-21 Thread ToddAndMargo via perl6-users
Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks, -T

DateTime.Str default formatter with sprintf is pretty slow

2017-09-19 Thread Thor Michael Støre
Hey, When I profiled my "read CSV, munge, write CSV" script to see why it is a bit on the slow side DateTime.Str stood out. I saw the default formatter eventually reached sprintf, which consumed a lot of time. Each output line from my script has one date and time in ISO 8601 format,

Re: perl6 --profile-compile | --profile: both very slow and depend on Internet resources

2016-04-01 Thread Tom Browder
On Fri, Apr 1, 2016 at 10:08 AM, Tom Browder wrote: > On Fri, Apr 1, 2016 at 9:39 AM, Timo Paulssen wrote: >> The profiler's data blob is a massive, gigantic blob of json (ls the file >> and you'll see). > > Ah, yes: a 2.8+ million character line! ... >

Re: perl6 --profile-compile | --profile: both very slow and depend on Internet resources

2016-04-01 Thread Timo Paulssen
On 01/04/16 17:08, Tom Browder wrote: Alternatively, there's a qt-based profiler up on tadzik's github that can read the json blob (you will have to --profile-filename=blahblah.json to get that), but it doesn't evaluate as much of the data - it'll potentially even fail completely what with

Re: perl6 --profile-compile | --profile: both very slow and depend on Internet resources

2016-04-01 Thread Timo Paulssen
The profiler's data blob is a massive, gigantic blob of json (ls the file and you'll see). You can easily search the urls to point at local files instead of the CDN. Alternatively, there's a qt-based profiler up on tadzik's github that can read the json blob (you will have to

perl6 --profile-compile | --profile: both very slow and depend on Internet resources

2016-04-01 Thread Tom Browder
Is there any easy way to get the profilers to use local code (css, js, etc.) rather than reading across a sometimes slow internet connection? I'm using both Chrome and Iceweasel with the same effects: slow loading scripts and always seem to be reading: https://maxcdn.bootstrapcdn.com/bootstrap