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.) Also it isn't until the very last line of that program that anything visible happens. Basically it has a lot of work to do before it can make itself visible. On Wed, Apr 24, 2019 at 2:46 AM ToddAndMargo via perl6-users <perl6-users@perl.org> 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, > -T