Skip to content

Conversation

@connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Oct 7, 2025

For the observed metrics of ttfb and LCP subparts, stop using Lighthouse's original ProcessedNavigation and instead use the CDT trace engine.

I'm pretty sure these values are only used in hidden audits (metrics, predictive-perf).

I also changed the LCP breakdown result from being lcpLoadStart/End to now use the proper subpart names. These values are the phase durations rather than the "time to lcp load start" or "time to lcp load end". I also added the render delay phase, but that can't be simulated so it only appears for observed/provided throttling.

@connorjclark connorjclark requested a review from a team as a code owner October 7, 2025 18:32
@connorjclark connorjclark requested review from paulirish and removed request for a team October 7, 2025 18:32
"speedIndex": 1583,
"speedIndexTs": 23467606130,
"timeToFirstByte": 565,
"timeToFirstByteTs": 23466588051,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This trace is just too old for the trace engine to handle wrt ttfb.

@connorjclark connorjclark merged commit 4ed2f38 into main Oct 7, 2025
28 of 30 checks passed
@connorjclark connorjclark deleted the lcp-breakdown-ttfb-insight branch October 7, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants