-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Open
Labels
Description
Forking off from #14287 …
arch
- Refactor the traceprocessor flow. In short: determine the "inspected" pids/frames in one pass before doing all the subsetting.
- Verify we handle metric calculation of multiple navigations correctly. (For timespan mode)
- While trace-processor could organize all processes found in the trace, I think it's better to just instantly whittle down the events to the "inspected" process tree and frame tree. Drop everything else, so no metric calculation code needs to filter for themselves.
- or... don't do this since the processFilter is already doing this for us.
- handle the
pidreuse case (however unlikely that is while tracing). Having just a map ofpid->tidsays nothing about the timing. Seems like we might need a temporal aspect to the tracking as well? Or just step though the trace, subsetting in chunks between anyFrameCommittedInBrowserevents.
frames
- Clarify that frameEvents/frameTreeEvents are a subset of all events from that frame.
- Adopt
isOutermostMainFrame?
allframes metrics
- Nearly certain that this fcpAllFrames calculation doesnt return the right value.
- core: use main-frame LCP trace element #14760 is relevant..
audit traceEvent usages
- Review all uses of
trace.traceEventsas there's potentially a mistake handling pids/frames. - Audit all uses of .args[.data].frame to see if there's a better way to ensure the data is reliably there.
- Validate all uses of startingPid are using it correctly. (They're probably not)