It seems like Moose vs built-in-oop/mop is a very indirect comparison. Now I'm wondering what nqp or moarvm startups are like.
On Oct 3, 2016 06:14, "Elizabeth Mattijsen" <l...@dijkmat.nl> wrote: > > On 02 Oct 2016, at 11:00, Thor Michael Støre <thormich...@gmail.com> > wrote: > > > > Hey everyone! > > > > Is this normal startup performance? > > > > > > Thormicks-MacBook-Pro-3:~ thormick$ time perl6 -e "say 'foo'" > > foo > > > > real 0m0.444s > > user 0m0.166s > > sys 0m0.067s > > Thormicks-MacBook-Pro-3:~ thormick$ time perl6 -e "say 'foo'" > > foo > > > > real 0m0.202s > > user 0m0.148s > > sys 0m0.044s > > Thormicks-MacBook-Pro-3:~ thormick$ time perl6 -e "say 'foo'" > > foo > > > > real 0m0.205s > > user 0m0.150s > > sys 0m0.045s > > Thormicks-MacBook-Pro-3:~ thormick$ perl6 -version > > This is Rakudo version 2016.07.1 built on MoarVM version 2016.07 > > implementing Perl 6.c. > > > > > > Foo indeed! ~200ms for this seems awfully slow to me. > > FWIW, this is what I have on my MBP (2.8Ghz i7 Early 2013, SSD): > > $ time perl6 -e "say 'foo'" > foo > > real 0m0.122s > user 0m0.098s > sys 0m0.023s > > $ perl6 -version > This is Rakudo version 2016.09-104-gc4c0718 built on MoarVM version > 2016.09-13-g34c375a > implementing Perl 6.c. > > > Wrt to Pm’s timing of perl 5 with Moose: if you actually want to have most > of Perl 6’s capabilities in Perl 5 with Moose, you will need to load quite > a few MooseX:: classes as well. Which cannot have a positive effect on > load time. > > > > Liz