Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adrianaixba
Copy link
Collaborator

No description provided.

numericValue: wastedMs,
numericUnit: 'millisecond',
details,
metricSavings: {FCP: wastedMs, LCP: wastedMs},
Copy link
Contributor

@adamraine adamraine Jul 10, 2023

Choose a reason for hiding this comment

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

Using the existing wastedMs makes sense for now, but wastedMs is computed using the FCP graph. I do wonder if computing a second LCP wastedMs with the LCP graph would also be useful.

This requires more investigation, so I'll open a separate issue to track this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ah something like what we have to do with uses-rel-preconnect?

separate issue sounds good to me!

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I imagine we'll copy the FCP implementation for LCP and see how big the difference is.

@adamraine
Copy link
Contributor

Smoke test failures look unrelated :/

@adamraine adamraine changed the title core(render-blocking): add FCP and LCP savings core(render-blocking-resources): add FCP and LCP savings Jul 11, 2023
@adamraine adamraine merged commit 4ce741a into main Jul 11, 2023
@adamraine adamraine deleted the render-block-res-savings branch July 11, 2023 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants