GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.03k stars 9.32k forks source link

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

Closed adamraine closed 3 months ago

adamraine commented 3 months ago

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 https://github.com/GoogleChrome/lighthouse/issues/15896