Bug 195357 - Web Inspector: CPU Usage Timeline - don't eagerly render the Statistics and Sources sections
Summary: Web Inspector: CPU Usage Timeline - don't eagerly render the Statistics and S...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 195202
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-05 22:00 PST by Devin Rousso
Modified: 2019-03-05 22:00 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-03-05 22:00:14 PST
Rather than specifically update the DOM of the Statistics and Sources sections whenever adding/removing a filter, we could create a new `WI.CPUTimelineStatisticsView` that has it's own `layout()` which we can then call `needsLayout` on so only it will re`layout` when adding/removing filters.  This would help reduce the overall size of CPUTimelineView.js and perhaps make some of the logic a bit more "chunk"able.