Re: [SMARTY] yet another benchmark
| From: | Ivo Jansch | Date: | Tue, 11 Jun 2002 13:51:17 +0000 |
| Subject: | Re: [SMARTY] yet another benchmark | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4772@lists.php.net to get a copy of this message | ||
Hi,
Monte Ohrt wrote:
You would rarely fetch a template 50 times in any real application, normally you fetch only once. I suppose it could be a legitimate benchmark though.Ofcourse not. But you do it 50 times in a benchmark, because you can hardly see the difference when you do it once. The difference becomes visible when you perform a test multiple times. And I think it's a valid benchmark, because even though you only render it maybe once per pageload, you get thousands of pageloads a day.
I was going to do that, but some of the engines require more than one template to handle a loop. Just show index.tpl, or supply more than one link, or?Or a link to a directory containing the templates for that particular engine. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl