Re: Benchmarking cache and inserts
| From: | Thomas Schulz | Date: | Fri, 06 Jun 2003 15:46:12 +0000 |
| Subject: | Re: Benchmarking cache and inserts | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9664@lists.php.net to get a copy of this message | ||
Nino Katic wrote in php.smarty.general:
> Starting page had 3 inserts, caching turned on and it was already
> cached on disk. The time for processing the page was cca. 0,69 sec.
>
> Then i deleted cache on the disk and the time was cca. 0,74 sec.
>
> At the end i reorganized things. There were no inserts and the caching
> was turned off. The time was cca. 0,75 sec.
>
> Can you comment this results? In general is this time too big for some
> site that will have ultrabig load ?
This is expected behavoir when the code inside your inserts takes so much
time. If you wont to cache the output of an insert you have the do this
inside the insert or use the wrapper I posted or don't use inserts.
Thomas.
--
http://4bconsult.de