Blog

Make your symfony application 70% faster

Symfony Live 2010 Paris Conference

« Back to the Blog

Categories

Feeds

feed Posts feed

comments feed Comments feed

symfony training
Be trained by symfony experts
Jul 22: Paris (1.2 + Doctrine - Français)
Aug 19: San Francisco (1.2 + Doctrine - English)
Sep 23: Paris (1.2 + Doctrine - Français)
Oct 21: Nantes (1.2 + Doctrine - Français)
Nov 18: Paris (1.2 + Doctrine - Français)
and more...

Archives

Creative Commons License This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

We wanted to emphasize a particular plugin for the "plugin of the (last) week" series, but a recent post by Pierre Minieur in the symfony mailing-list did it before us. So instead of reinventing the (promotion) wheel, here is an extract of Pierre's thoughts on this plugin:

I'd like to tell you a little success story about using sfOptimizerPlugin. I did many things in my "public" application to optimize performance [and end up having] an average execution time of ~150ms per page, wich leads to ~100ms in the production environment. A little bit slow, I think.

After [installing the plugin and] running $php symfony optimize public staging over the environment, the execution time was reduced by 50ms from ~150ms down to ~90ms, nice. And even the production environment acts faster now, with only ~30ms to serve pages, very nice - 70% faster!

Fabien, thank you for that plugin! It's interesting to see that such kind of "optimizing" can still increase performance, while I thought that symfony caches and compiles so much things that you cannot add additional performance improvements at all :-)

I strongly recommend everyone to add cronjobs on your production servers running this task from time to time to optimize your cached configuration files, your compiled classes and your cached templates, and everything that's not optimized yet ;-).

Note that if you want to share your experience with symfony with the community, we like to publish such use cases here in this blog. Announcements about symfony gatherings can also use this channel. So don't hesitate to send us your (short) articles, they may get published right here.

Comments comments feed

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.