The histogram data may not reflect the 75th percentile number message.

8 views
Skip to first unread message

Luis Roman Roldan

unread,
Jun 6, 2024, 3:52:16 AMJun 6
to Chrome UX Report (Discussions)
Hi all,

I was checking CrUX data for a site in the pagespeed.web.dev tool and I realized that for the TTFB metric I was getting the next message: "In rare cases like this, the histogram data may not reflect the 75th percentile number. The 75th percentile is always used to assess if the metric is passing."

I don't understand exactly what means and what other measure is being used instead of the 75th percentile when this message appears. Someone can help me with this?

Thank you for help,
Luis Roman

Barry Pollard

unread,
Jun 6, 2024, 4:13:23 AMJun 6
to Luis Roman Roldan, Chrome UX Report (Discussions)
It's due to math basically. Rounding errors and the fact the sources of the information are slightly different.

Basically the p75 overall number is what is correct, and what should be used. It is both an input and an output of the CrUX data set for the dimensions queried (e.g. device and url/origin in PSI).

The histograms are made up of post-filtered data and certain data below thresholds is filtered out. For example, if you have a very low amount of 2G data that might be filtered out and we'd only show 3G and 4G data in CrUX and in CrUX-calculated data like the histograms.

So it's possible on occasion to get a p75 TTFB of say 799ms (which is good), but for the histograms to say only 24% of navigation were good. This makes no sense as you'd expect at least 25% of values to be good to have a good p75 value. But it's due to the fact that the histograms don't have the full data.

In most cases (like in this example) the discrepancies are small and they usually happen on when a metric is at a border of a threshold, but it was enough to be disconcerting to users and have them questioning the accuracy or the data in PSI so we added a note to explain that we're aware this happens, and which number is the more accurate number (the p75 metric value).


--
You received this message because you are subscribed to the Google Groups "Chrome UX Report (Discussions)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ux-repo...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ux-report/cb16ba4e-5a98-4f3c-8a2f-b245e660c2b7n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages