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(test): add generatable trace for paint metrics #15994

Merged
merged 4 commits into from
May 14, 2024
Merged

Conversation

connorjclark
Copy link
Collaborator

Adds a regenerate.js trace for paul's site, useful for tests on paint metrics. I replaced some of lcp-m78 (but not all - some tests relied on too specific stuff in there).

ref #15841

@connorjclark connorjclark requested a review from a team as a code owner May 13, 2024 19:21
@connorjclark connorjclark requested review from adamraine and removed request for a team May 13, 2024 19:21
@@ -241,7 +241,7 @@ function getRequestWillBeSentEvent(networkRecord, index, normalizedTiming) {
wallTime: 0,
initiator,
type: networkRecord.resourceType || 'Document',
frameId: networkRecord.frameId || `${idBase}.1`,
frameId: networkRecord.frameId,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

frameId can be not present for some requests, so this fallback lost information. It was caught by roundtrip test on new trace.

@connorjclark connorjclark changed the title core(test): add modern chrome trace for paint metrics core(test): add generatable chrome trace for paint metrics May 13, 2024
@connorjclark connorjclark changed the title core(test): add generatable chrome trace for paint metrics core(test): add generatable trace for paint metrics May 13, 2024
@connorjclark connorjclark merged commit 171ebdf into main May 14, 2024
27 checks passed
@connorjclark connorjclark deleted the paul-arts branch May 14, 2024 17:08
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.

None yet

4 participants