Where have you heard that ZF is one of the slowest frameworks out there?
While I haven't heard many claims that ZF is the most performant- that
distinction is usually reserved for Code Igniter or one of the other
lightweight, performance-focused frameworks- I haven't heard any claims
that it is the least performant. The most transparent and sound
benchmarks that I've seen are available here:
http://www.avnetlabs.com/php/php-framework-comparison-benchmarks. That
puts ZF at roughly 50% of the throughput of Code Igniter. That may sound
like a lot at first, but as I mention in a comment there, baseline PHP
can handle *15 times* the load than Code Igniter and CakePHP falls far
short of both (at least in these particular tests). This article
demonstrates well that accurate performance characterizations among
different frameworks are *extremely* difficult to come up with in the
first place, and that any framework faces tradeoffs between performance
and functionality. In the end, I'm pretty comfortable with the
characterization that ZF is 'twice as slow' as a framework that has been
optimized from the get go for performance like Code Igniter. Those who
understand the tests at hand and have real performance requirements will
understand that this may easily be eclipsed by functionality
requirements for any given project.
That said, we are planning to focus all of the Zend team's contributions
for 1.7 around performance analysis and enhancements. We don't have a
test environment with which we can thoroughly benchmark all the
frameworks yet, but we will have one set up soon. Once we can start
getting good numbers, we will focus on the performance of the MVC
components, along with other components- like Zend_Search_Lucene- which
are very sensitive to algorithmic complexity and optimizations. We've
already profiled the framework with a simple application and identified
some optimizations. If you are interested in the performance of ZF, then
keep your eyes peeled for optimization commits in the next few weeks.

,Wil

> -----Original Message-----
> From: Endijs Lisovskis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 26, 2008 8:30 AM
> To: [email protected]
> Subject: [fw-general] Speed and performance between ZF releases
> 
> 
> Hi!
> 
> I wanted to ask - are there any tests done to compare ZF releases to
> see
> which ones are faster and uses less resources?
> 
> I'm asking this, because when there are discussions about frameworks -
> almost everyone says that ZF is one of slowest frameworks out there
(if
> compared to Symfony, Cake etc.). It would be good to know if ZF is
> making
> progress, or failing because of all new functions added to it.
> 
> Thanks!
> 
> Endijs Lisovskis
> --
> View this message in context: http://www.nabble.com/Speed-and-
> performance-between-ZF-releases-tp19164298p19164298.html
> Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to