Re: benchmarking including output()
Andrew Brosnan <[email protected]> Thu, 25 Jan 2007 12:14:06 -0500
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <r02010500-1039-775824EAAC9711DBABB000039344BB98@[10.0.0.3]> |
On 1/25/07 at 11:56 AM, [email protected] (Michael Peters) wrote: > > > 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. Thanks Michael. Actually, one of the reasons I'm doing this is to convince the customer to move to CGI::App instead of one huge script. I considered saving the post output() results elsewhere to review. Is that what you mean by do it afterwards? I can't think of a good way to actually include it in the page generated by output. Regards, Andrew -- Andrew Brosnan ........ [email protected] Broscom LLC .... Managed Services Provider <http://www.broscom.com> .. 1 207 925-1156 Programming, Consulting, Websites, Hosting ------------------------------------------------------------------------- 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