Test: 2.5 vs. 2.6RC2
| From: | Armand Turpel | Date: | Sun, 26 Oct 2003 11:13:18 +0000 |
| Subject: | Test: 2.5 vs. 2.6RC2 | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10429@lists.php.net to get a copy of this message | ||
Hi,
Smarty performance tests done in the Open Publisher CMS environement between
Smartys versions 2.5 and 2.6RC2 (PIII 800 Linux php 4.3.2)
This cms has a plugin test page with OP own plugins.
Results:
Compiling
----------------
>Smarty 2.5
Memory usage: 1847184 bytes
Time: 1.2402 sec
>Smarty 2.6RC2
Memory usage: 1859832 bytes
Time: 1.3510 sec
Caching OFF
------------------
>Smarty 2.5
Memory usage: 1528488 bytes
Time: 0.9550 sec
>Smarty 2.6RC2
Memory usage: 1463944 bytes
Time: 0.9574 sec
Caching ON
------------------
>Smarty 2.5
Memory usage: 745264 bytes
Time: 0.0669 sec
>Smarty 2.6RC2
Memory usage: 593400 bytes
Time: 0.0592 sec
As you can see, the performance gain is limited to caching is ON. The version
2.6RC2 consume less memory but not if compiling templates.
Can someone confirm this results with own testing environement?
Thanks,
atur
http://www.open-publisher.net