Hello,

I'd like to tell you little story of success using sfOptimizerPlugin.
I did many things in my "public" application to optimize performance,
e.g. avoid from too many database queries, disabling sessions (cause
they're not needed, but backend is still driven with creole based
sessions), keep code that's executed more often by if-clauses to be
executed first and so on.

I enabled caching and in a staging environment (with cache & web debug
on) I have an average execution time of ~150ms, wich leads to ~100ms
in the production environment. A little bit slow, I think.

After running `$> symfony optimize public staging` over the
environment, the execution time is 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 ;-)

Cheers,
Pierre


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to