Re: [SMARTY] yet another benchmark

From: Date: Tue, 11 Jun 2002 14:27:05 +0000
Subject: Re: [SMARTY] yet another benchmark
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4773@lists.php.net to get a copy of this message
Well this is a tough benchmark to make fair. Some template engines combine the parse/print functionality, some do not. So a fetch of a template 50 times might be parsing and printing, or just printing. ModeliXe uses a cached copy so subsequent fetches are just a file fetch. Ivo Jansch wrote:
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
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#4773) next »