Hi Peter, This is always an interesting discussion. Using a framework will always add overhead. Symfony definitely adds some overhead. There are quite a few optimization steps (like turning off databases if you dont use them) that can be done to lower the overhead, but there is always overhead.
I always wonder why people would focus on the overhead in the first place. I'd really like to know the reason behind this question. A framework brings efficiency and structure to your development, and using good caching strategies and things like the debug toolbar for optimizing the application will help it run smoothly. In the case the application becomes very big/popular, adding a new server is much cheaper than the extra developer you need if you don't use a framework. I know Rasmus did an "anti-framework" presentation at OSCON that contained some benchmark data, and even though it's not representative it will give an indication of overhead (as that was the point Rasmus was making in the first place). Perhaps that information may help you. Really, you should not be using that information as it's not representative though. Stefan On Tue, Oct 28, 2008 at 10:02 AM, Peter Bowyer <[EMAIL PROTECTED]> wrote: > > Hi list, > > I got asked this question today, after recommending Symfony as a web > framework of choice: > --- > how much code performance overhead does Symfony add to your web > apps? I monkeyed with Zend for a bit and discovered that even its > basic MVC framework significantly increased response times. Similarly, > to those of you who have used any of the other PHP frameworks, how do > they perform? > --- > > I know there must be some overhead but it's not a question I've looked > into, as (for me) ease and reliability of development are much more > important than 10s of milliseconds. What would your responses be? Have > you any figures/scenarios to show it's not an issue? > > Thanks, > Peter > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
