Re: [SMARTY] yet another benchmark

From: Date: Tue, 11 Jun 2002 07:39:20 +0000
Subject: Re: [SMARTY] yet another benchmark
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4766@lists.php.net to get a copy of this message
Hi Monte, 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.
I miss an important test in the first benchmark. You assign the variable 50 times, but you render the template only once. I think the rendering is much slower than the assigns, and I think it is very important to test how fast the template is rendered, not only how fast variables get assigned. Since fast rendering (due to compilation) is one of Smarty's key features, I think you should test this as well. So a loop where you fetch a template 50 times should be a part of the benchmark. Also, it would be nice if you could not only show the source code (the 's' link), but also the template itself (a 't' link perhaps). This could also give a nice comparison of template syntax. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

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