Re: Smarty and speed
| From: | Peter Bowyer | Date: | Thu, 06 Dec 2001 21:21:35 +0000 |
| Subject: | Re: Smarty and speed | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2168@lists.php.net to get a copy of this message | ||
At 03:08 PM 12/6/01 -0600, Andrei Zmievski wrote:
Pursuant to the recent discussions, I'd like to pose the following questions. Do you feel that Smarty is too slow? Too bulky? Have you been able to isolate any specific area which seems slow? What would you propose as a possible solution? Rewriting certain parts of Smarty in C? Splitting it into more separate class files that are loaded as necessary? Any other comments on speed?I do feel it is a little bulky. I haven't noticed the slowness (my server isn't heavily loaded), but it does seem a lot of script to load when caching is on. I imagine it would be better on a high load site using caching to load a mini-smarty class, which if the file isn't cached or caching is turned off, loads the rest of the class. Of course, having Smarty or parts written in C would be nice - just keep it up in PHP as well so that people without the extension installed can still use Smarty. Hope that's useful, and I will keep on thinking about this. Peter. -- Maple Design - http://www.mapledesign.co.uk