Page MenuHomePhabricator

Calibrate connectivity for synthetic tests to match FCP and LCP in Chrome User Experience Report
Closed, ResolvedPublic

Description

Let me fine tune the connectivity so that we match the 75 percentile metrics we get out of the Chrome User Experience report. That way we can be in front of changes that will happen and do not need to wait on crux to pick it up.

  1. Upgrade to latest Chrome/Firefox first
  2. Update the dashboard to more clearly show Google Web Vitals
  3. Update this issue with the values we have today and compare them with data from Crux
  4. Make sure we get the individual metrics per URL in Crux for the most tested URLs on English Wikipedia
  5. Lets tune the connectivity so the metrics match as much as possible.

Event Timeline

Change 681294 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[performance/synthetic-monitoring-tests@master] Update to Chrome 90 and Firefox 88.

https://gerrit.wikimedia.org/r/681294

Change 681294 merged by jenkins-bot:

[performance/synthetic-monitoring-tests@master] Update to Chrome 90 and Firefox 88.

https://gerrit.wikimedia.org/r/681294

Let me tune the settings on Monday. Lets start with WebPageTest and WebPageReplay.

These are the current metrics:

Screenshot 2021-04-23 at 11.05.08.png (1×1 px, 580 KB)

Screenshot 2021-04-23 at 11.05.01.png (992×1 px, 585 KB)

Screenshot 2021-04-23 at 11.04.40.png (982×2 px, 807 KB)

Screenshot 2021-04-23 at 11.04.54.png (988×2 px, 803 KB)

Screenshot 2021-04-23 at 11.04.47.png (986×2 px, 807 KB)

Screenshot 2021-04-23 at 11.04.32.png (986×2 px, 818 KB)

Screenshot 2021-04-23 at 11.04.12.png (994×2 px, 1019 KB)

Screenshot 2021-04-23 at 11.04.22.png (984×2 px, 1 MB)

Change 688266 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[performance/synthetic-monitoring-tests@master] Increase latency from 100 -> 120 to match CrUx.

https://gerrit.wikimedia.org/r/688266

Change 688266 merged by jenkins-bot:

[performance/synthetic-monitoring-tests@master] Increase latency from 100 -> 120 to match CrUx.

https://gerrit.wikimedia.org/r/688266

@Jdlrobson wanted to give you a heads up that I want to change the connectivity setting for the emulated mobile tests that we run on WebPageTest (today its 3gfast). My main plan is to try to calibrate the metrics that we get from Chrome UX Report. The idea is that if they better match, we could (best case) see changes that will affect us earlier in our tooling, instead of the Crux report and in SEO-ranking.

When I look at our metrics today, the WebPageTest metrics are much higher than the 75 percentile reported in Crux. When I look specific at the Obama page the 75p for first contentful paint is 1.28 seconds and in WebPageTest its 2.22 seconds (almost one second higher!). I want to change so we test it with 4g settings instead, it will not perfectly match but it will be much closer. Let me know if you feel ok with the change.

Change 688884 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[performance/synthetic-monitoring-tests@master] Increase latency even more to meet Crux p75.

https://gerrit.wikimedia.org/r/688884

Change 688884 merged by jenkins-bot:

[performance/synthetic-monitoring-tests@master] Increase latency even more to meet Crux p75.

https://gerrit.wikimedia.org/r/688884

Change 688914 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[performance/synthetic-monitoring-tests@master] Set lower latency for Firefox using WebPageReplay.

https://gerrit.wikimedia.org/r/688914

Change 688914 merged by jenkins-bot:

[performance/synthetic-monitoring-tests@master] Set lower latency for Firefox using WebPageReplay.

https://gerrit.wikimedia.org/r/688914

Change 689004 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[performance/synthetic-monitoring-tests@master] Moved from 160 -> 180 latency for WPR.

https://gerrit.wikimedia.org/r/689004

Change 689004 merged by jenkins-bot:

[performance/synthetic-monitoring-tests@master] Moved from 160 -> 180 latency for WPR.

https://gerrit.wikimedia.org/r/689004

Change 689012 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[performance/synthetic-monitoring-tests@master] Increase emulate mobile latency even more to match crux.

https://gerrit.wikimedia.org/r/689012

Change 689012 merged by jenkins-bot:

[performance/synthetic-monitoring-tests@master] Increase emulate mobile latency even more to match crux.

https://gerrit.wikimedia.org/r/689012

Change 691041 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[performance/synthetic-monitoring-tests@master] Switch to 4g to better match Crux 75 p.

https://gerrit.wikimedia.org/r/691041

Change 691041 merged by jenkins-bot:

[performance/synthetic-monitoring-tests@master] Switch to 4g to better match Crux 75 p.

https://gerrit.wikimedia.org/r/691041