Skip to content

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

Merged
paulirish merged 2 commits intomasterfrom
fmpfallback
Aug 5, 2017
Merged

add flag to FMP to indicate if it fell back to FMP candidate#2851
paulirish merged 2 commits intomasterfrom
fmpfallback

Conversation

@brendankenny
Copy link
Contributor

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

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
Contributor 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