News Feed
Jobs Feed
Sections




News Archive
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

Zend Developer Zone: The ZendCon Sessions Ep 14: Performance Tuning for PHP with Oracle Database

Kevin van Zonneveld's Blog: Speedup your website with Cache_Lite

When Penguins Attack: Tuning IIS for PHP

Start up web 2.0 Blog: CakePHP & CodeIgniter Benchmark

Anson Cheung's Blog: Optimize Web Site Performance by using YSlow


Community Events











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


composer opinion introduction development tool conference database podcast framework object zendframework2 code series interview example functional language release community testing

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