Smarty perfs
| From: | LIMBOURG Arnaud | Date: | Mon, 11 Feb 2002 09:14:54 +0000 |
| Subject: | Smarty perfs | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2667@lists.php.net to get a copy of this message | ||
Hello,
After reading some comments about the templates solutions benchmark (which
was talked about last week). I saw that Smarty had bad performance with
caching turned on. Compared to ModeliXe for example.
So, i wonder if this comes from the benchmark, from the way smarty handles
caching or anything else.
SCRIPT A SCRIPT B SCRIPT C SCRIPT D
PHP4 100% 100% 100% 100%
FastTemplates 40,20% 38,30% 36,89% 34,67%
PHPLib 82,27% 80,49% 84,96% 76,50%
VTemplate 66,58% 66,74% 70,71% 60,62%
ModeliXe
cache_delay = 0 54,36% 55,82% 59,14% 49,81%
cache_delay = 5 82,84% 89,46% 96,88% 82,80%
Smarty
compile_check = true et caching = false 48,64% 50% 53,92% 45,38%
compile_check = true et caching = true 65,38% 71,35% 85,90% 65,56%
compile_check = false et caching = false 50,66% 52,16% 56,64% 47,30%
compile_check = false et caching = true 66,41% 71,65% 86,44% 65,19%
Can be seen page 55 at http://www.phpindex.com/download/Templates_V1.1.pdf