Bug 259553 - Web Inspector: Timelines: Memory: measurements are not shown
Summary: Web Inspector: Timelines: Memory: measurements are not shown
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-27 05:29 PDT by Przemyslaw Gorszkowski
Modified: 2023-08-03 05:30 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>