9 Jul
2004
9 Jul
'04
11:24 a.m.
From: "Tim Zegir" <tim@ccx.com.au>
How would I go about displaying the time it takes to render a page template? (eg. it took 0.003 seconds to render this page)
Is there a simple python call, or will i have to use a python script?
If you are looking for debug/optimization-type of information do a search on CallProfiler in the archives. CallProfiler is a product that displays (via the zmi) a break-down of how much time is spent in each method/script etc. If you want to display something on the returned page (ie. something an end-user can see) you could have a look in the CallProfiler source to see how it works (some programming will be required in this approach!). Jonathan