George Schlossnagle gave a talk on "High Performance PHP" which was very good. At OmniTI, George works with a lot of different clients helping them resolve bottlenecks and squeeze the most out of their applications. This experience along with the collective knowledge of OmniTI gives him unique insight into ways to speed up PHP applications. I only got to sit in on a small portion of his session but even so, I was able to get some good tips.
Cal opts for more of an overview than a summary (the talk/session was about 3.5 hours long), so he includes the "10 Best Practices" George shared to help the performance of your applications.
Included in the list are:
- Control your include trees to no more than 10 includes
- Be mindful of how you use other network resources
- Output buffering and compression are good.
- Profile early, profile often.