Poor Performance
| From: | August Zajonc | Date: | Sat, 27 Jan 2001 01:52:57 +0000 |
| Subject: | Poor Performance | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10@lists.php.net to get a copy of this message | ||
I've also gone ahead and done a rough benchmark comparing phplib's old
implementation of templating and Smarty. The performance of Smarty is
significantly lower than phplib.
phplib: 90 pages/sec
smarty: 65 pages/sec
with $compile_check = false
80 pages/sec
With phplib you also get the functionality you get with compile_check =
false.
Test Setup:
Run under php4.0.4pl1 with apc cache on a dual PIII with 1G of RAM lightly
loaded.
Templates were simply 20 iterations of a block with 3 variables. Output was
identical between both scripts.
August