RE: [SMARTY] yet another benchmark
| From: | Alain Fontaine | Date: | Mon, 10 Jun 2002 20:41:36 +0000 |
| Subject: | RE: [SMARTY] yet another benchmark | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4743@lists.php.net to get a copy of this message | ||
Hello,
Yes, it does greatly help. Since I have activated caching and the
IF-MODIFIED-SINCE header thing on our ScoreBoards at
http://mondial.dhnet.be, we are now able to server three
times as much
concurrent ScoreBoard users than before :)
So, caching -does- rock.
-----Message d'origine-----
De : Monte Ohrt [mailto:monte@ispi.net]
Envoye : lundi 10 juin 2002 22:39
A : Peter Bowyer
Cc : Smarty
Objet : Re: [SMARTY] yet another benchmark
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:
>
>> 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--
>
>
--
Monte Ohrt <monte@ispi.net>
Director of Technology, ispi Inc.
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php