Re: [SMARTY] yet another benchmark

From: Date: Fri, 14 Jun 2002 07:18:28 +0000
Subject: Re: [SMARTY] yet another benchmark
References: 1 2 3 4 5  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4833@lists.php.net to get a copy of this message
Hi, Monte Ohrt wrote:
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.
What is 'fair' in this case anyway? Benchmarks are there for users to find out which solution is the best for their needs. The purpose of any template engine is 'to turn a template into an html file'. How the engine does that is irrelevant. That Smarty parses the template only once, making it ultrafast, does not make it an 'unfair' template engine. Benchmarking template engines without measuring their 'core business' would be like trying to benchmark formula 1 cars by just measuring how fast you can put fuel in it. :) Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

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