Re: [SMARTY-DEV] Re: config_load removed from core
| From: | Tom Sommer | Date: | Sun, 20 Apr 2003 21:21:08 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: config_load removed from core | ||
| References: | 1 2 3 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1242@lists.php.net to get a copy of this message | ||
On Sun, 20 Apr 2003 16:05:43 -0500, Monte Ohrt wrote:
> fixed.
yup, after reviewing the code, it seems to me that the debug exec time is
not AT ALL accurate?
Would it not be better to define
$debug_start_time = $smarty->_get_microtime();
at the top of the function, and then remove it in the if-statement?
like so:
http://dev.tsn.dk/patches/smarty.config_file.exec_time.txt
Just a thought :)
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk