Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show unthrottled LCP phase values when using simulated throttling #16321

Open
3 tasks done
dwsmart opened this issue Feb 4, 2025 · 3 comments
Open
3 tasks done

Show unthrottled LCP phase values when using simulated throttling #16321

dwsmart opened this issue Feb 4, 2025 · 3 comments
Assignees
Labels

Comments

@dwsmart
Copy link

dwsmart commented Feb 4, 2025

FAQ

URL

https://tamethebots.com/

What happened?

When running a pagespeed insights test, it seems that the TTFB in the phase section under the LCP report has a floor of 600ms, and it's impossible to get a lower value:

Image

Other examples

What did you expect?

An accurate representation of the TTFB value

What have you tried?

No response

How were you running Lighthouse?

PageSpeed Insights

Lighthouse Version

12.2.3

Chrome Version

No response

Node Version

No response

OS

No response

Relevant log output

@dwsmart dwsmart added the bug label Feb 4, 2025
@dwsmart dwsmart changed the title TTFB in the LCP Phase table Always 4% and 600ms TTFB in the LCP Phase table Always 600ms Feb 4, 2025
@dwsmart dwsmart changed the title TTFB in the LCP Phase table Always 600ms TTFB in the LCP Phase table minimum of 600ms Feb 4, 2025
@adamraine
Copy link
Member

I think this is the result of Lighthouse using simulated throttling by default. The throttling is interpolated and so we apply some base level RTT to the initial network request.

Your bug report does indicate that this is method of generating LCP phases is less than useful. Unfortunately, the alternative is to show LCP phases for the LCP value before throttling is applied, which means the LCP phases won't match with the LCP value. For accuracy reasons we should consider this.

In the meantime, you can use DevTools throttling (as opposed to simulated throttling) which shouldn't have this problem.

@adamraine adamraine changed the title TTFB in the LCP Phase table minimum of 600ms Show unthrottled LCP phase values when using simulated throttling Feb 15, 2025
@adamraine adamraine added P1 and removed bug labels Feb 15, 2025
@adamraine adamraine self-assigned this Feb 15, 2025
@dwsmart
Copy link
Author

dwsmart commented Feb 15, 2025

Hey @adamraine!

Thanks! I realised that I didn't explain in the ticket well that this is purely a pagespeed insights thing, it is possible to observe TTFB under 600ms in devtools or a node test, although I guess the throttling could be skewing that anyway?

@adamraine
Copy link
Member

Hmm yeah it's possible that the PSI environment also just has a more consistently slow TTFB. I have other accuracy concerns with the LCP phases though so I think we should consider showing the unthrottled values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants