-- Endijs Lisovskis <[EMAIL PROTECTED]> wrote
(on Tuesday, 26 August 2008, 10:27 AM -0700):
> At first let me say THANKS for your reply! I was not expecting such a long
> comment. I will definitely look at ZF 1.7 features and optimizations.
> 
> I can't give you any links to articles where someone is pointing out that ZF
> is slow, except one you already gave. But each time when I talk about
> frameworks and ZF in particular I receive negative reactions and all of
> theme are because of doubts about ZF performance. Those comments I receive
> in my blog where I talk about ZF and even maybe promote it and in local PHP
> forum too. 
> OK - those who comment cant provide exact numbers in which I could see
> difference between ZF and other frameworks. But all they need to say - ZF is
> complicated, big and with a lot of components etc. etc. And each version is
> becoming bigger and bigger. I would like to argue, that growth in features
> is not affecting speed 

But that's precisely true. Growth in breadth does not equal decrease in
performance. On a typical request, you're using a very small subset of
the available functionality -- and anything you're not using is _not_
loaded. The argument is basically a straw man.

> - but I can't because there are no any tests out
> there.
> I hope you see the problem. In short "They say it is slow, but there is no
> way we can prove they are wrong". 

Another way to put is is, "they say it is slow, but have no numbers to
back it up." Just depends what side of the argument you're on.

Our plan is to publish our methodology so others can reproduce our
results.

That said, we'll _always_ be slower than projects like CodeIgniter --
that project, in particular, is built with a very light footprint. The
downside is that you have less available at your disposal to speed up
development.

The primary trade-off with any framework is almost always developer time
over processor time.


> And sorry for my grammar and structure of sentences. English is not my
> mothers tongue, so it is not very easy for me to write in correct English.
> 
> 
> wllm wrote:
> > 
> > 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.
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Speed-and-performance-between-ZF-releases-tp19164298p19166135.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to