Re: [htmltmpl] benchmarking including output()
Brought to you by:
samtregar
From: Andrew B. <an...@br...> - 2007-01-25 17:13:45
|
On 1/25/07 at 11:56 AM, mp...@pl... (Michael Peters) wrote: >=20 >=20 > Andrew Brosnan wrote: > > Hi, > >=20 > > I'm benchmarking some code and wanted to include the results in=20 > > webpages generated by print $template->output(). How could I also=20 > > include the time taken by output()? >=20 > You'll have to do it afterwards. The way CGI::Application::DevPopUp=20 > does this is by creating a popup HTML, parsing the final HTML and=20 > 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 ........ an...@br... Broscom LLC .... Managed Services Provider <http://www.broscom.com> .. 1 207 925-1156 Programming, Consulting, Websites, Hosting |