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

Only include last LCP entry in metric entries #218

Merged
merged 1 commit into from Apr 24, 2022
Merged

Conversation

philipwalton
Copy link
Member

Fixes #216.

This PR updates the getLCP() logic to only add the last largest-contentful-paint entry to the Metric.entries object. This is consistent with how entries are exposed for all other metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Change could break user code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant