GoogleChrome / web-vitals

Essential metrics for a healthy site.
https://web.dev/vitals
Apache License 2.0
7.47k stars 410 forks source link

Split `waitingDuration` to make it easier to understand redirect delays #458

Closed tunetheweb closed 4 months ago

tunetheweb commented 5 months ago

Fixes #395

This splits waitingDuration (formerly known as waitingTime in v3) into two:

See PerformanceNavigationTiming breakdown for more context:

image

As part of this I've also moved any delays between connectEnd and requestStart from being attributed to connectionDuration (i.e before the delay) to requestDuration (i.e after the delay). This helps avoiding attributing this delay to connectionDuration for service-worker controlled sites when this should be 0, but without adding an extra breakdown that would not be that useful.