If you're running Rakudo on MoarVM, try the --profile option.  It will create 
an HTML file that shows a lot of useful information, including time spent in 
each routine, call graphs, GC allocations, etc.

Pm

On Wed, Dec 31, 2014 at 09:35:33AM +0200, Gabor Szabo wrote:
> The Perl 6 Maven site is a static site generated by some Perl 6 code.
> Currently it takes about 8 minutes to regenerate the 270 pages of the site
> which is quite frustrating.
> 
> Is there already a tool I could use to profile my code to see which part
> takes the longest time
> so I can focus my optimization efforts in the most problematic area?
> 
> regards
>    Gabor

Reply via email to