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

add flag to FMP to indicate if it fell back to FMP candidate #2851

Merged
merged 2 commits into from
Aug 5, 2017

Conversation

brendankenny
Copy link
Member

there's no way to tell from the LH results that trace-of-tab fell back to a firstMeaningfulPaintCandidate event for the FMP event. #2420 will generate a Sentry entry for that case, but it would be handy to have it in the report so that e.g. the HTTPArchive data can be queried to get frequency numbers on this as well.

Happy to bikeshed on this and/or change so that it will also work for logging when/if we turn on #2244

@@ -69,13 +69,15 @@ class TraceOfTab extends ComputedArtifact {
let firstMeaningfulPaint = frameEvents.find(
e => e.name === 'firstMeaningfulPaint' && e.ts > navigationStart.ts
);
let fmpIsFallback = false;
Copy link
Member

Choose a reason for hiding this comment

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

fmpFellBack

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@paulirish paulirish merged commit 46d9ba7 into master Aug 5, 2017
@paulirish paulirish deleted the fmpfallback branch August 5, 2017 01:52
@patrickhulce
Copy link
Collaborator

patrickhulce commented Aug 5, 2017

if we turn on

😢

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.

3 participants