Re: [SMARTY] IonCube PHP Accelerator

From: Date: Thu, 01 Apr 2004 23:07:43 +0000
Subject: Re: [SMARTY] IonCube PHP Accelerator
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11211@lists.php.net to get a copy of this message
On Thu, Apr 01, 2004 at 02:05:43PM -0500, Robert Cummings wrote: > On Thu, 2004-04-01 at 13:55, Kelly Hallman wrote: > > Hey Smarty fans, > > > > I don't know if this was mentioned here before, and I have absolutely no > > connection with this company or product. Check it out: > > > > http://php-accelerator.co.uk/ > > > > They claim "Benchmarks of the Smarty templates system with and without > > acceleration using PHPA show that nearly 10 times acceleration from PHPA > > is possible on Smarty based applications." > > > > If that's not enough, the install is super simple > > (provided you've got access to modify php.ini, etc). > > > > So far, it's very impressive, though I haven't done any benchmarking and I > > don't run anything excessively slow to the point that I'd be able to > > perceive the difference, but the person who recommended it to me said it > > greatly improved one monster PHP app that he was running, cutting page > > time from 4 seconds to 'almost instantaneous'. I believe it, since a lot > > of PHP apps tend to include almost the entire codebase on each hit, and > > most of the overhead is parsing/interpreting that code. > > > > Interested to hear anyone's feedback or experiences. > > I don't really use Smarty except when clients want me to, but I do use > Ioncube accelerator. With the InterJinn framework it provides about a > 50% speed improvement. It would probably provide more if the whole > framework was loaded on every page hit, but InterJinn uses a lazy > loading philosophy and so this isn't the case. With specific > applicability to Smarty, I would say that you would gain a very good > improvement since for every page that includes the Smarty lib, you are > including approx 4000+ lines of code. "4000+": cool number. how did you estimate it? > The Ioncube accelerator prevents > these from needing to be parsed on every page hit, and instead provides > a pre-parsed bytecode version after the initial load to the PHP engine. > I've been using PHPA for about 4 years now. This effect is compounded by > for lib you include that contains a large amount of source code. > > Cheers, > Rob.

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