![]() | Performance Tests | |
|
ionCube Home | Introduction | About | Testimonials Download | Accessories | Forums | FAQ | History | Contacts |
|
This page contains some performance figures from my own testing of PHPA.
Performance gains are dependent on many factors, and typical gains are at
least two to three times speedup, although can be substantially more. The
user testimonials also indicate the
effectiveness of PHPA.
The bottom of each page on
this site also
shows the PHP processing time and a link to the non-accelerated or accelerated
page for comparison, and gives an indication of acceleration from PHPA in action 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.
test
from dynamicwebpages.de
has a review of caches that includes an earlier version of the Accelerator.
PHPA, APC, AfterBurner Comparisons
A French site has produced a study of optimising by caching PHP, and gives another
indication of the performance of PHPA compared to other caching systems.
Load Average Charts
The following load-average charts were contributed from a site
running a comparison of the APC cache vs. PHPA. Note that the Y axis with
load average is scaled differently for PHPA than for APC because the load
average with PHPA is reduced, and so the effectiveness is even more than is
aparant from the graphs.
Despite the performance differences, it should be
noted that APC is also a very good Acceleration tool, and, in the spirit of
PHPA, also a non-commercial venture.
![]() Load Average using APC
Script Timings The following tests give performance indications from an earlier version of the Accelerator and the Zend Cache, now known as the Zend Accelerator. The tables below give a rough indication of possible performance gains from testing both single page loads and blasting the web server with a stream of concurrent requests using the Apache benchmarking tool. They also include comparisons with the fastest commercial product, the Zend Cache, highlighting the comparable performance. All tests bar one were on a machine with a 650Mhz Athlon and fast memory/bus. The 'odd one out' test was on the server rendering these pages and, whilst having a similar clock rate Celeron, is noticably slower overall. The hdparm tests for interests sake at the bottom of the page show the difference in disk and memory performance of the two machines. As the Accelerator eliminates some memory allocation and copying, this may account for better acceleration seen from the slower machine as its worse memory performance may be a bigger factor in the overall timing.
/dev/hda: Timing buffer-cache reads: 128 MB in 1.59 seconds = 80.50 MB/sec Timing buffered disk reads: 64 MB in 2.77 seconds = 23.10 MB/sec /dev/hda: Timing buffer-cache reads: 128 MB in 0.80 seconds =160.00 MB/sec Timing buffered disk reads: 64 MB in 1.83 seconds = 34.97 MB/sec | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| © Copyright 2001-2004 ionCube |