Our launch team has helped launched tens of thousands of Drupal websites. Each time, we run the same checks. Checks for caching settings. Checks for missing modules. Checks through the watchdog logs. Necessary, but tedious.
You’ll learn:
- Top 4 reasons why your site could be slow
- How to spot the most commonly overlooked culprits and take action to improve your site’s performance
- A walk-through of what an underperforming site looks like on the Dashboard, and how to fix it through the Dashboard
- Which third-party performance tools to use for popular use-case scenarios
To learn more about Launch Check, see https://www.getpantheon.com/product/launchcheck
2. What we’re covering:
1.
2.
3.
4.
Top reasons why your site could be slow
Take action to improve your site’s performance
What an underperforming site looks like
Which third-party performance tools to use
20. Test Configuration
● Simple Drupal 7 site
● Apache Bench - 10,000 requests to home
page (5 concurrent)
● Warmed cache, cleared watchdog
● Comparison
○ Bad config, 1 PHP notice and warning in theme
○ Good config, no PHP notices or warnings
21. Test Result
Bad config, errors
● 20 min, 52 sec
● Requests per
second: 7.98
● Time per request:
626.192 ms
Good config, no errors
● 10 min, 25 sec
● Requests per
second: 15.99
● Time per request:
312.780 ms
22. Why is my site slow?
1. Bad caching configuration
a. Tune!
2. PHP errors
a. Fix them!
3. Wrong database storage engine
a. Convert it!
4. Browser rendering
a. Enable aggregation
b. How to detect slowness?
27. Minimizing Round-Trip Times
Reduce the number of serial requests
Before Aggregation of JS/CSS
TTFB
55
Page Size
Complete
Load
DomContentLoad
1.53s
6.7kb
3.68s
3.50
2.8s
28. After Aggregation of JS/CSS
TTFB
35
Page Size
Complete
Load
DomContentLoad
419ms
189kb
2.29s
2.07
1.49s