DrupalCon Denver 2012: REAL WORLD PERFORMANCE ANALYSIS

While there have been many presentations focusing on new and interesting ways to solve performance problems, very few have focused on how to find them. The first step to solving a problem is identifying what is wrong and this is something we don't spend enough time talking about. This presentation will focus entirely on how to analyse a poorly performing site and identify what is wrong. This presentation will start with an example Drupal site. This site will have very slow page load times and exhibit 3-4 problems I see commonly in consulting. These are going to be problems everyone has faced at one point or another; a slow view, a bad module, a misconfiguration, a theme causing problems, etc. The goal for this presentation is not to teach you how to solve these particular problems, but how to find and profile them in general. We will cover the basics of using xhprof, xdebug, devel module, mysql slow query log and more to track down problems such as these. The goal of this presentation is to give the audience some of the basic information, tools and resources to be able to find and solve these problems on their own and even avoid them entirely when designing their own sites. Topics To be Covered:
PHP Level Performance Analysis
XHPROF
XDebug
Strace
perf
Devel Module
Database Level Performance Analysis
MySQL Slow Log
Maatkit
Devel Module
Views Profiling
Briefly Cover Some Possible Solutions To Problems
Caching
Denormalization
Query Fixing

Questions answered by this session:
Why is my site slow?
Why is my server load high?
My staging site was fast, why is my production site slow?

Drupal is a registered trademark of Dries Buytaert.