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

core(render-blocking-resources): add FCP and LCP savings #15238

Merged
merged 3 commits into from
Jul 11, 2023

Conversation

adrianaixba
Copy link
Collaborator

No description provided.

@@ -299,6 +299,7 @@ class RenderBlockingResources extends Audit {
numericValue: wastedMs,
numericUnit: 'millisecond',
details,
metricSavings: {FCP: wastedMs, LCP: wastedMs},
Copy link
Member

@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
Member

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
Member

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
31 checks passed
@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