-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Conversation
@@ -299,6 +299,7 @@ class RenderBlockingResources extends Audit { | |||
numericValue: wastedMs, | |||
numericUnit: 'millisecond', | |||
details, | |||
metricSavings: {FCP: wastedMs, LCP: wastedMs}, |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
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.
Smoke test failures look unrelated :/ |
No description provided.