Today I Learned - Rocky Kev

TIL good numbers for Web Metrics

POSTED ON:

TAGS:

If you're not familiar with Core Web Vitals, it's Google's way of measuring website speed. It's the 'next step' of Lighthouse Performance scores.

One of the Core Web Vital metrics is FID.

As of 2022, Google is currently in the process of changing Core Web Vitals. It has added two new metrics to the mix: INP (Interaction To Next Paint) and TTFB (Time to First Byte). via SearchEngineJournal and via SeoRoundtable

For First Input Delay (FID):

Given that the “good” FID threshold is 100 ms, we can say that at least 90% of websites meet this bar. In fact, we know from the analysis done in the Performance chapter that 100% of websites actually have “good” FID experiences on desktop devices, and 92% on mobile devices. FID is an unusually permissive metric.

Most sites should be good on that front. Nice job internet!

For Interaction to Next Paint (INP):

It's when a user visits the page.

Consider that a “good” INP score is 200 milliseconds or less. At the median, both mobile and desktop score below this threshold, but the 75th percentile is another story, with both mobile and desktop segments well within the “needs improvement” range. This data, quite unlike FID, suggests that there are many opportunities for websites to do everything they can to run fewer long tasks on pages, which are a key contributor to less-than-good INP scores.

via Part I Chapter 2 JavaScript

The Main Differences

First Input Delay (FID) considers only the first interaction on the page.

Interaction to Next Paint (INP) takes into consideration all page interactions.

Optimizing

How does one handle INP?

Check out Google's dev blogs for optimization tipsHow do modern frameworks perform on the new INP metric


Related TILs

Tagged:

TIL good numbers for Web Metrics

Given that the 'good' FID threshold is 100 ms, we can say that at least 90% of websites meet this bar. In fact, we know from the analysis done in the Performance chapter that 100% of websites actually have good FID experiences on desktop devices, and 92% on mobile devices. FID is an unusually permissive metric.

TIL good numbers for Web Metrics

Given that the 'good' FID threshold is 100 ms, we can say that at least 90% of websites meet this bar. In fact, we know from the analysis done in the Performance chapter that 100% of websites actually have good FID experiences on desktop devices, and 92% on mobile devices. FID is an unusually permissive metric.

TIL good numbers for Web Metrics

Given that the 'good' FID threshold is 100 ms, we can say that at least 90% of websites meet this bar. In fact, we know from the analysis done in the Performance chapter that 100% of websites actually have good FID experiences on desktop devices, and 92% on mobile devices. FID is an unusually permissive metric.