Measuring adblockers impact on site performance

50
1 Karan Kumar Technical Lead Performance Engineering 6/28/22 Measuring Ad Blocker’s impact on Site Performance

Transcript of Measuring adblockers impact on site performance

Page 1: Measuring adblockers impact on site performance

1

Karan Kumar

Technical Lead Performance Engineering

May 1, 2023

Measuring Ad Blocker’s impact on

Site Performance

Page 2: Measuring adblockers impact on site performance

22

Web Performance

DevicesFormat/capability diversity

Sophisticated AppsVisual, personalized, complex

NetworksWired LTE WiFi 4G 3G

0

50

100

150

200

250

Late

ncy

(ms)

Page 3: Measuring adblockers impact on site performance

33

Popular browser extensions

> 500 million downloads> 200M + active users

100M + active usersAdblock Plus blog, 9th May 2016

http://i.imgur.com/IG8oVar.pnghttps://chrome.google.com/webstore/category/popular

Page 4: Measuring adblockers impact on site performance

44Source: https://downloads.pagefair.com/wp-content/uploads/2016/05/2015_report-the_cost_of_ad_blocking.pdf

Page 5: Measuring adblockers impact on site performance

55Source: https://downloads.pagefair.com/wp-content/uploads/2016/05/2015_report-the_cost_of_ad_blocking.pdf

Page 6: Measuring adblockers impact on site performance

66

BROWSER = EXTENSION =

Page 7: Measuring adblockers impact on site performance

77

Bird's-eye view

Content

Ads

Filter lists

Source: http://adforads.com/category_images/website.jpghttps://www.digitalmusicnews.com/wp-content/uploads/2015/11/adblocklogo.pnghttp://findicons.com/files/icons/1579/devine/256/list.png

Page 8: Measuring adblockers impact on site performance

88

Performance Impact ?

Page 9: Measuring adblockers impact on site performance

99

Performance Impact

Source: https://twitter.com/inspiredlabs/status/743037699561492480

Page 10: Measuring adblockers impact on site performance

1010

Performance Impact

Source: https://twitter.com/WalterStephanie/status/742979562049548289

Page 11: Measuring adblockers impact on site performance

1111

“”The results: For a number of websites that contained mobile ads with a lot of data, web page data sizes decreased significantly and load times accelerated enormously with ad blockers turned on.””NY Times Oct 1st 2015

Performance Impact

Source: http://www.nytimes.com/2015/10/01/technology/personaltech/ad-blockers-mobile-iphone-browsers.html?_r=1

Page 12: Measuring adblockers impact on site performance

1212

Performance Impact

Source: http://rigor.com/blog/2016/06/ad-blocking-above-all-else

“Above All Else, Ad Blocking is a User Experience Problem”

Rigor: 21th June 2016

Page 13: Measuring adblockers impact on site performance

1313

Page 14: Measuring adblockers impact on site performance

1414

Extend WebPagetest

• Easy to extend WebPagetest Detailed Step-by-Step instructions

• Side-by-Side comparison• Multivariate tests

Page 15: Measuring adblockers impact on site performance

1515

Experimental Setup

• Private WebPagetest instance• WebPagetest replay

Record live website and playback Reduce outliers (time of day, network, DNS, server load etc.) Normalize the results

• Cable connection• Chrome 51 Browser on Windows

Vs.

Page 16: Measuring adblockers impact on site performance

1616

Example 1: moviemistakes.com

Page 17: Measuring adblockers impact on site performance

1717

Example 1: moviemistakes.com

Page 18: Measuring adblockers impact on site performance

1818

Example 1: moviemistakes.com

Page 19: Measuring adblockers impact on site performance

1919

Example 1: moviemistakes.com

Page 20: Measuring adblockers impact on site performance

2020

Example 1: moviemistakes.com

Page 21: Measuring adblockers impact on site performance

2121

Example 1: moviemistakes.com

Page 22: Measuring adblockers impact on site performance

2222

Example 1: moviemistakes.com

Page 23: Measuring adblockers impact on site performance

2323

Example 2: apple.com

Page 24: Measuring adblockers impact on site performance

2424

Example 2: apple.com

No requests were blocked

Page 25: Measuring adblockers impact on site performance

2525

Example 2: apple.com

Page 26: Measuring adblockers impact on site performance

2626

Example 2: apple.com

Page 27: Measuring adblockers impact on site performance

2727

Example 2: apple.com

Page 28: Measuring adblockers impact on site performance

2828

Example 2: apple.com

Page 29: Measuring adblockers impact on site performance

2929

Example 3: parents.fr

Page 30: Measuring adblockers impact on site performance

3030

Example 3: parents.fr

Page 31: Measuring adblockers impact on site performance

3131

Example 3: parents.fr

Page 32: Measuring adblockers impact on site performance

3232

Example 3: parents.fr

Page 33: Measuring adblockers impact on site performance

3333

Example 3: parents.fr

Page 34: Measuring adblockers impact on site performance

3434

Example 3: parents.fr

Page 35: Measuring adblockers impact on site performance

3535

Example 3: parents.fr

Page 36: Measuring adblockers impact on site performance

3636

Example 4: etsy.com

Page 37: Measuring adblockers impact on site performance

3737

Example 4: etsy.com

Page 38: Measuring adblockers impact on site performance

3838

Example 4: etsy.com

Page 39: Measuring adblockers impact on site performance

3939

Example 4: etsy.com

Page 40: Measuring adblockers impact on site performance

4040

Example 4: etsy.com

Page 41: Measuring adblockers impact on site performance

4141

Example 4: etsy.com

Page 42: Measuring adblockers impact on site performance

4242

Example 4: etsy.com

Page 43: Measuring adblockers impact on site performance

4343

Summary of examples• Moviemistakes.com

Better Speed Index, Start Render• Parents.fr

Better Speed Index, Worse Start Render• Apple.com

Worse Speed Index, Start Render• Etsy.com

Worse Speed Index, Start Render

• Higher Time To First Byte

Page 44: Measuring adblockers impact on site performance

4444

More Experiments• 2016 Internet Retailer 150 Homepages• 2016 Top 100 Media Sites

Page 45: Measuring adblockers impact on site performance

4545

2016 Internet Retailer 150 Homepages

Page 46: Measuring adblockers impact on site performance

4646

2016 Top 100 Media Sites

Page 47: Measuring adblockers impact on site performance

4747

Observations

• CPU cycles for blocking content • Varies by industry• Huge filter list

Blocked list • 580 KB (~1.9 MB)

Allowed list• 422 KB (~1.9 MB)

• User experience could be worse

Page 48: Measuring adblockers impact on site performance

4848

Takeaways

Overheads of Ad blocker's Benefit from blocking content performance != universal Invest in tooling Measure it

Page 49: Measuring adblockers impact on site performance

49

Thank You!

www.instartlogic.com

Karan Kumar

[email protected]@kkumar86

https://www.linkedin.com/in/kkumar86

BOOTH @ 215

Page 50: Measuring adblockers impact on site performance

5050

View Blocked Content

Without Adblocker

Adblocker