Re: [SMARTY] yet another benchmark
| From: | Monte Ohrt | Date: | Mon, 10 Jun 2002 20:39:10 +0000 |
| Subject: | Re: [SMARTY] yet another benchmark | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4742@lists.php.net to get a copy of this message | ||
Sometimes it is, sometimes it isn't. I tried reloading the page a few times and got all kinds of varying results.
The reason is that these simple templates don't take long to actually execute, so it may or may not be faster than fetching a cached copy. Fetching cache also does a little bit of work, it splits the header off the cache and deserializes it. If it were a real life situation like variables assigned from a database, then caching really helps.
Monte
Peter Bowyer wrote:
I don't believe it! Smarty with its cache enabled is slower than without!!! Explanation? Peter At 14:23 10/06/02 -0500, Monte Ohrt wrote:-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.This is a new benchmark, hopfully the most fair way to do it. I put it here temporarily, please take a look and let's hear your feedback. If it looks OK, we'll probably replace the current benchmark page with it. If someone wants to make it prettier, by all means... ;) http://www.phpinsider.com/smarty-benchmark/--oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Glenbranter - Scottish narrow gauge in 009 http://glenbranter.narrow-gauge.co.uk --oOo--