Why Does This Slow Rakudo?

chromatic chromatic at wgz.org
Sat Sep 26 20:23:33 UTC 2009


On Thursday 24 September 2009 08:55:10 Andrew Whitworth wrote:

> On Sat, Sep 19, 2009 at 9:53 PM, chromatic <chromatic at wgz.org> wrote:
> > By my profiling, removing the PCCINVOKE call from LexInfo's init_pmc()
> > should speed up Rakudo's time in "Hello, world!" by about 2.5%.  Instead,
> > this patch slows it down by about 3%.  Does that make sense to anyone
> > else?

> No, that doesn't make any sense to me. Are you sure it's not just a
> timing fluke (you had too many things open in other windows)? Rakudo
> doesn't do anything funny like subclassing lexinfo, right?

I used callgrind and compared instruction counts, so no timing flukes.  I don't 
see anything in Rakudo that subclasses lexinfo either.

-- c


More information about the parrot-dev mailing list