News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Enrise Blog:
Zend Framework 2 Performance
February 24, 2012 @ 12:42:21

On the Enrise blog Tim de Pater has done some benchmarking of some Zend Framework-based applications, comparing the performance of a Zend Framework 1 application to that of a Zend Framework 2 app.

A few days ago I read an article that compared some frameworks. Amongst others, both Zend Framework 1 and Zend Framework 2 were included. What struck me was that ZF2 was 5 times slower then ZF1. I know, it's in beta, not yet optimized for production use. But I couldn't believe the difference was so great. So I've tested it myself and want to share my results in this blog.

Included in the post are the specs for the machine he used (the host machine and the VirtualBox instances), the versions of ZF he used (1.11.1 and the latest from ZF2) and a script that uses ApacheBench to perform the testing. His testing involved benchmarking the requests per second that each application was able to perform. In all cases the ZF2 performance was slower (consistently) by a factor of about four times. The Zend Framework team are aware of the issues behind this (something involving the DIC) and already have plans to work on it in the future.

And he's completely right [about it being premature to report benchmarks on a pre-stable release]. This benchmark was meant purely to see if the article from piprime.fr made any sense. And it's a starting point for me to see what you can do with the different optimizations and what their performance impact is.
0 comments voice your opinion now!
zendframework2 benchmark performance apachebench requestspersecond


blog comments powered by Disqus

Similar Posts

Developer.com: Performance Improvement: Bigger and Better

Hari KT's Blog: Is there a design flaw for the Components or Packages made by Symfony2 and ZF2

Oracle Technology Network: High Performance and Availability with Oracle RAC and PHP

Alex Hudson's Blog: A (fond) farewell to Zend Framework

IT World: Lost programming skills


Community Events





Don't see your event here?
Let us know!


series api deployment symfony language list opinion tips interview package community bugfix framework voicesoftheelephpant laravel introduction podcast install release library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework