Skip to content

core(trace-processor): correct overlapping tasks#15921

Merged
adamraine merged 3 commits intomainfrom
correct-overlapping-tasks
Apr 4, 2024
Merged

core(trace-processor): correct overlapping tasks#15921
adamraine merged 3 commits intomainfrom
correct-overlapping-tasks

Conversation

@adamraine
Copy link
Copy Markdown
Contributor

Tasks can sometimes be overlapping as of M122: https://crbug.com/329678173

This probably needs a fix for the trace events themselves, but until then we can approximate the correct behavior by cutting of tasks that overlap with the next task.

Ref #15896

@adamraine adamraine requested a review from a team as a code owner April 4, 2024 21:44
@adamraine adamraine requested review from connorjclark and removed request for a team April 4, 2024 21:44
},
});
expect(result.metricSavings.TBT).toBeApproximately(353.53);
expect(result.metricSavings.TBT).toBeApproximately(171.95);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I checked, this trace does have overlapping events: https://trace.cafe/t/ETHMnpFcQx

Copy link
Copy Markdown
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

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

love it. thank you

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.

4 participants