On Fri, Jul 30, 2010 at 23:31, Ben Bowers <nanobow...@gmail.com> wrote:
> I've compiled and run rakudo star on a couple of pieces of code that i > wrote. > One generates random strings with pick. the other builds a couple of > hashes and checks to find commonality between them. > Compared with Rakudo Moscow (April release), both pieces of code run > about 50% slower with Rakudo Star. > Could you post the code in question, so that the Smart Guys (that does not include me, I'm afraid) can have a poke at it? > For reference, similar functioning code in perl5.8 is at least an > order of magnitude (or more) faster than either of my perl6 testcases. > > I also noticed that my binary size is much smaller for perl5 than > perl6: (linux x86_64) > perl5.8.8 : 1.5MB > rakudo moscow : 20MB > rakudo star : 27MB > The point this is that i'm not sure if i'm compling it properly. > Possibly the amount of debug is set to the max level? > Is there anything i can do to optimize the compile for increased > performance? > Chromatic tried to say something about optimization in his response to a performance comparison: http://www.modernperlbooks.com/mt/2010/07/an-accurate-comparison-of-perl-5-and-rakudo-star.html -- Jan