Re: [SMARTY] Re: Template execution time
| From: | Katana | Date: | Mon, 12 May 2003 16:12:52 +0000 |
| Subject: | Re: [SMARTY] Re: Template execution time | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9526@lists.php.net to get a copy of this message | ||
p> thanks for your answers but my problem isn't really measure the
p> time. I have a "timer" class to do that. The problem is how to
p> force Smarty always measure script execution even if the template
p> is cached.
p> An example: the first time template is shown, it takes 1 second.
p> Second time, template is cached, it takes 0,5 seconds but, because
p> it is cached it still show 1 second and I want to show the real
p> time it takes to be generated. I don't know if explain correctly
p> but my english is poor.
Oh...
Then you would need to store the execution time when the page is not
cached, and display it every time... good luck, no real idea how you
would do that.
Katana