Re: benchmarking including output()

Michael Peters <[email protected]> Thu, 25 Jan 2007 11:56:43 -0500
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>

Andrew Brosnan wrote:
> Hi,
> 
> I'm benchmarking some code and wanted to include the results in webpages
> generated by print $template->output(). How could I also include the
> time taken by output()?

You'll have to do it afterwards. The way CGI::Application::DevPopUp does this is
by creating a popup HTML, parsing the final HTML and inserting it right before
the </body> tag.


-- 
Michael Peters
Developer
Plus Three, LP


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV