Re: [SMARTY] Test: 2.5 vs. 2.6RC2

From: Date: Sun, 26 Oct 2003 11:44:54 +0000
Subject: Re: [SMARTY] Test: 2.5 vs. 2.6RC2
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10430@lists.php.net to get a copy of this message
compiling is slightly slower with 2.6, but I don't consider this to be bad, as you shouldn't compile templates in a live environment at all (or at least not very often)... sometimes the performance has to suffer from the implementation of new features, and this is the case here. cheers, David On Sunday, October 26, 2003 12:13 PM +0200, Armand Turpel wrote: > 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

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