Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It turns out that Googling for <strong>template::toolkit profiling</strong> yields the best result, an article from <a href="http://www.stonehenge.com/merlyn/LinuxMag/col75.html" rel="noreferrer">November 2005 by Randal Schwartz</a>. I can't copy and paste any of the article here due to copyright, but suffice to say that you simply get <a href="http://www.stonehenge.com/merlyn/LinuxMag/col75.listing.txt" rel="noreferrer">his source</a> and use it as a module after template, like so:</p> <pre><code>use Template; use My::Template::Context; </code></pre> <p>And you'll get output like this to STDERR when your script runs:</p> <pre> -- info.html at Thu Nov 13 09:33:26 2008: cnt clk user sys cuser csys template 1 0 0.06 0.00 0.00 0.00 actions.html 1 0 0.00 0.00 0.00 0.00 banner.html 1 0 0.00 0.00 0.00 0.00 common_javascript.html 1 0 0.01 0.00 0.00 0.00 datetime.html 1 0 0.01 0.00 0.00 0.00 diag.html 3 0 0.02 0.00 0.00 0.00 field_table 1 0 0.00 0.00 0.00 0.00 header.html 1 0 0.01 0.00 0.00 0.00 info.html 1 0 0.01 0.01 0.00 0.00 my_checklists.html 1 0 0.00 0.00 0.00 0.00 my_javascript.html 1 0 0.00 0.00 0.00 0.00 qualifier.html 52 0 0.30 0.00 0.00 0.00 referral_options 1 0 0.01 0.00 0.00 0.00 relationship_block 1 0 0.00 0.00 0.00 0.00 set_bgcolor.html 1 0 0.00 0.00 0.00 0.00 shared_javascript.html 2 0 0.00 0.00 0.00 0.00 table_block 1 0 0.03 0.00 0.00 0.00 ticket.html 1 0 0.08 0.00 0.00 0.00 ticket_actions.html -- end </pre> <p>Note that blocks as well as separate files are listed.</p> <p>This is, IMHO, much more useful than the CPAN module <a href="http://search.cpan.org/~petdance/Template-Timer-0.04/Timer.pm" rel="noreferrer">Template::Timer</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload