Ads, widgets, and analytics are a major cause for slow web sites. P3PC is a project focused on analyzing the performance of 3rd party content. The goal is to find the key wins to evangelize to make 3rd party content faster.
The table below summarizes my findings. Click on the links to read the detailed analysis of each snippet. As I do new analyses I'll add them to this table. You can leave suggestions for other 3rd party content to investigate on my original P3PC blog post.
You can help out this project by clicking on the Compare button and measuring how long these snippets take to load in your browser.
| snippet |
impact | Page Speed | YSlow | doc. write | total reqs | total | JS ungzip | DOM elems | median Δ |
|---|---|---|---|---|---|---|---|---|---|
| big | 90 | 84 | y | 9 | 84 | ||||
| small | 90 | 92 | n | 5 | 15 | ||||
| small | 91 | 99 | n | 2 | 2 | ||||
| small | 81 | 92 | n | 3 | 9 | ||||
| big | 87 | 84 | y | 8 | 9 | ||||
| med | 89 | 98 | y | 3 | 1 | ||||
| small | 93 | 98 | n | 2 | 2 | ||||
| big | 86 | 90 | y | 6 | 7 | ||||
| big | 89 | 83 | y | 11 | 7 | ||||
* Stats for ads only include the ad framework and not any ad content. ** It's not possible to gather timing stats for snippets with live ads. |
column definitions | ||||||||