Memory needed to build Perl 6 on Parrot; problem, goal, incentive for solution

chromatic chromatic at wgz.org
Sun Aug 1 22:27:11 UTC 2010


On Sunday 01 August 2010 at 08:01, James E wrote:

> Last week I successfully built Rakudo Star from source on two different 
> Linux/i386 machines, one real, one virtual.  However, my attempt to 
> build Rakudo Star on my iBook was unsuccessful.  It repeatedly failed at 
> this point:
> 
>    /Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot 
> src/gen/perl6.pbc --target=pir \
>      src/gen/core.pm > src/gen/core.pir

I've profiled this before, and the biggst culprit is the parse phase.

We need benchmarks for NQP-rx, especially memory benchmarks.  I suspect there 
are potential optimizations in NQP-rx, but I also suspect that our naive 
register allocator is suboptimal, and I wonder if a lingering GC bug hurts as 
well.

How can we start to write benchmarks to help us profile NQP-rx?

-- c


More information about the parrot-dev mailing list