A question about performance with IonCube Accelerator

From: Date: Sat, 09 Nov 2002 12:39:59 +0000
Subject: A question about performance with IonCube Accelerator
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6373@lists.php.net to get a copy of this message
Hi there, I'm new to Smarty and I wanted to make a few benchmarks before using it on the whole website. I have then made a few benchmarks using Apache Benchmark (ab) on a Linux box, with Apache, MySQL, PHP 4.1.0, etc. I used 4 tests: one with a simple echo, one with a simple loop, one with a simple db call, one with a mix of the three plus a layout with header, footer and a left-menu bar. The benchmark was done with 1000 connections, 10 connections at a time. For the 4 tests, using Smarty was: - much slower than plain php if used without an accelerator; - a little bit slower if used with the IonCube accelerator; In any case, even with the accelerator, Smarty was slower than php without a templating system. Because I'm new to Smarty, I wanted to ask experienced users if this is the normal behaviour, meaning that you have a performance hit but you gain in ease of maintenance because the presentation layer is separated from the application layer. Or, am I doing something wrong and Smarty + IonCube should be faster than plain php + IonCube. Thank you in advance for any help you could provide. Cheers -- Dmitry

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