RE: Smarty 2.0 prototype: new benchmarks for phplib
| From: | Brent R. Matzelle | Date: | Sun, 17 Feb 2002 20:46:13 +0000 |
| Subject: | RE: Smarty 2.0 prototype: new benchmarks for phplib | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2709@lists.php.net to get a copy of this message | ||
--- Monte Ohrt <monte@ispi.net> wrote:
> Yes it does quite well. Of course the question is, just how close
> to a "real
> world" situation are these benchmark tests? Most of them are quite
> simple,
> and probably not too similar to something you might see in a real
> template
> such as non-similar variables, nested templates, looped sections,
> and some
> of the more complicated things Smarty takes care of that may prove
> much more
> difficult to do with other template languages. Look at the speed
> difference
> just for looping an array. I might try to construct a benchmark
> based on a
> real template page that contains most common situations and see how
> they
> compare. But yeah, it would be cool to be fastest in any situation
> but there
> is always a trade-off.
It might indeed be valuable to have a test with some more complicated
templates. I was once a user of PHPLIB templates and I found that in
my complex scripts often Smarty seemed quicker overall.
Unfortunately I did do any benchmarks.
Brent
"There are three kinds of lies: lies, damned lies, and benchmarks"
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com