Bug 259553

Summary: Web Inspector: Timelines: Memory: measurements are not shown
Product: WebKit Reporter: Przemyslaw Gorszkowski <pgorszkowski>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: hi, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Przemyslaw Gorszkowski 2023-07-27 05:29:54 PDT
This is a continuation of the topic started in https://github.com/WebKit/WebKit/pull/14286#discussion_r1275003325. 

The problem appears if the first measurements are 0. Currently, in that case the measurements for category will never show, even if the next measurements will contain some values different from 0. 

We should find a better way how to filter categories for which we should not show measurements.

I can propose two options:
* some additional field in MemoryCategoryInfo to indicate is it valid or not for specific category
* don't keep all categories by default in ResourceUsageData, just the ones for which we have measurements
Comment 1 Radar WebKit Bug Importer 2023-08-03 05:30:15 PDT
<rdar://problem/113328470>