1 of 74

www.drupaleurope.org

2 of 74

Through the eyes of real-world users

The State of�Drupal Performance

Rick Viscomi

3 of 74

Oh, hello

  • Developer Programs Engineer at Google
  • Web transparency advocate
  • Made YouTube fast ™
  • Cowrote “Using WebPageTest”

Rick Viscomi

rviscomi@google.com

@rick_viscomi

3

4 of 74

Why does web performance matter?

4

5 of 74

WPO Stats: Case studies correlating performance and conversions

5

6 of 74

WPO Stats: Case studies correlating performance and conversions

“Rebuilding Pinterest pages for performance resulted in a 40% decrease in wait time, a 15% increase in SEO traffic and a 15% increase in conversion rate to signup.”

6

7 of 74

Think with Google: Revenue Impact Calculator

7

8 of 74

Google Webmaster Central Blog

"Today we’re announcing that starting in July 2018, page speed will be a ranking factor for mobile searches."

8

9 of 74

Malte Ubl, TL of AMP

"Objective metrics collected through �public data sets like the Chrome User Experience Report �can provide for �objective performance and UX data independent of technology."

9

10 of 74

60%

of mobile connections worldwide are 2G

Source: “The New Bar for Web Experiences” at Chrome Dev Summit 2017

10

11 of 74

Source: https://httparchive.org/reports/state-of-the-web#bytesTotal

11

12 of 74

Loading over 2G would take 2 minutes

Source: https://httparchive.org/reports/state-of-the-web#bytesTotal

1.5 MB

desktop

1.3 MB

mobile

12

13 of 74

53%

of users abandon sites that

take longer than 3 seconds to load

Source: DoubleClick - The need for mobile speed, September 2016

13

14 of 74

Source: https://httparchive.org/reports/chrome-ux-report?start=latest#cruxOl

14

15 of 74

Source: https://httparchive.org/reports/chrome-ux-report?start=latest#cruxOl

35%

desktop > 3s

51%

mobile > 3s

15

16 of 74

How do we measure performance?

Lab vs Field

Personal vs Public

16

17 of 74

Lab

Field

Mine

Ours

WebPageTest

RUM Analytics

Chrome UX Report

HTTP Archive

17

18 of 74

Lab

Analyzes how a website is built

  • is it built on Drupal?
  • how many bytes does it load?
  • does it use a CDN?
  • are images optimized?

18

19 of 74

Field

Represents real user experiences

  • desktop or mobile?
  • wifi or 3G?
  • fast or slow page load?
  • which pages were viewed?

19

20 of 74

Personal

Tools that tell us about particular websites

  • Chrome Developer Tools
  • WebPageTest
  • Google Analytics

20

21 of 74

Personal + Lab: WebPageTest

webpagetest.org

21

22 of 74

Personal + Lab: WebPageTest

webpagetest.org

22

23 of 74

Personal + Lab: WebPageTest

webpagetest.org

23

24 of 74

Personal + Lab: WebPageTest

webpagetest.org

24

25 of 74

Personal + Field: Google Analytics

analytics.google.com

25

26 of 74

Personal + Field: Google Analytics

analytics.google.com

26

27 of 74

Public

Tools that tell us about the state of the web

  • HTTP Archive
  • Chrome UX Report

27

28 of 74

Public + Lab: HTTP Archive

httparchive.org

28

29 of 74

Public + Lab: HTTP Archive

29

30 of 74

Public + Lab: HTTP Archive

1.3M

GCS

BQ

Biweekly

400

30

31 of 74

Public + Field: Chrome UX Report

31

32 of 74

Public + Field: Chrome UX Report

Aggregate

  • Form factor�
  • Effective connection type�
  • Geography�
  • UX performance

Analyze

  • Raw data on BigQuery�
  • PageSpeed Insights�
  • Data Studio dashboard�
  • Third party integrations

Anonymize

  • Publicly indexable�
  • Origin rollup�
  • Unique user threshold�
  • Normalized to 100%

32

33 of 74

Public + Field: Chrome UX Report

First Paint

First Contentful Paint

DOM Content Loaded

Onload

33

34 of 74

Public + Field: Chrome UX Report

First Input Delay

34

35 of 74

How does�Drupal perform?

in HTTP Archive

35

36 of 74

36

37 of 74

15,044

Drupal sites detected

as of June 15, 2018

37

38 of 74

DRUPAL.HTTPARCHIVE.ORG

Apply a Drupal “lens” to the dataset

39 of 74

Drupal Page Weight report

drupal.httparchive.org/reports/page-weight

39

40 of 74

Drupal Page Weight report

drupal.httparchive.org/reports/page-weight

40

41 of 74

Desktop Metric�As of June 15, 2018

▲ Difference compared to the rest of the web

Value

👉 key takeaway

41

42 of 74

Median Page Weight

▲ 465.3 KB

2174.7 KB

👉 lots more stuff to load

42

43 of 74

Median Page Weight�Growth since January 2016

▲ 4.2 pp

+22.2%

👉 significant growth, more quickly

43

44 of 74

Median CSS Weight

▲ 13.4 KB

65.9 KB

👉 not a lot more CSS

44

45 of 74

Median CSS Weight�Growth since January 2016

▼ 7.7 pp

+21.6%

👉 growing, but more slowly

45

46 of 74

Median JavaScript Requests

▲ 4

23

👉 more JS requests

46

47 of 74

Median JavaScript Weight

▲ 29.7 KB

394.5 KB

👉 slightly heavier scripts

47

48 of 74

Median JavaScript Weight�Growth since January 2016

▼ 0.7 pp

+24.6%

👉 growing, but more slowly

48

49 of 74

Median Image Requests

▲ 4

42

👉 slightly more images

49

50 of 74

Median Image Weight

▲ 361.1 KB

1225.2 KB

👉 much heavier images

50

51 of 74

Median Image Weight�Growth since January 2016

▲ 8.0 pp

+25.3%

👉 heavy and getting heavier more quickly

51

52 of 74

Median Image Savings

▲ 31.0 KB

47.0 KB

👉 not taking full advantage of image optimization

52

53 of 74

How does�Drupal perform?

in the Chrome UX Report

53

54 of 74

33,955

Drupal sites detected

as of August 2018

54

55 of 74

Average First Paint

👉 FP skews slower

55

56 of 74

Average First Contentful Paint

👉 FCP skews slower

56

57 of 74

Average DOM Content Loaded

👉 DCL skews faster!

57

58 of 74

Average Onload

👉 OL skews faster!

58

59 of 74

Average First Input Delay

👉 FID skews faster!

59

60 of 74

Average FCP across CMS

60

61 of 74

Distribution of Drupal FCP

👉 Which one is your website?

61

62 of 74

Distribution of Drupal FID

👉 Which one is your website?

62

63 of 74

G.CO/CHROMEUXDASH

Generate your website’s custom report

64 of 74

65 of 74

66 of 74

67 of 74

How do we move the ecosystem forward?

67

68 of 74

Monitor performance

  • track improvements
  • flag regressions

68

69 of 74

Celebrate performance

  • culture of performance
  • publish case studies

69

70 of 74

Work with developers

  • document best practices
  • Incentivize performance

70

71 of 74

Performance is just�one part of the UX...

Accessibility

Security

Discoverability

Design

Interactivity

Localization

...and many more

71

72 of 74

Drupal + Technology

17/3/2018

TRACK SUPPORTED BY

73 of 74

Become a Drupal contributor Friday from 9am

  • First timers workshop
  • Mentored contribution
  • General contribution

74 of 74

Thanks!

  • HTTP Archive�drupal.httparchive.org
  • Chrome UX Report�bit.ly/chrome-ux-report

  • WebPageTest�webpagetest.org
  • Revenue Impact Calculator�thinkwithgoogle.com/feature/mobile/
  • These slides�bit.ly/drupal-perf-2018

Rick Viscomi

rviscomi@google.com

@rick_viscomi

74