WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
188395
ResourceUsageOverlay should use physical footprint for its "Footprint" label
https://bugs.webkit.org/show_bug.cgi?id=188395
Summary
ResourceUsageOverlay should use physical footprint for its "Footprint" label
Saam Barati
Reported
2018-08-07 16:56:14 PDT
...
Attachments
patch
(2.21 KB, patch)
2018-08-07 18:10 PDT
,
Saam Barati
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Saam Barati
Comment 1
2018-08-07 17:06:35 PDT
It uses total dirty pages instead of physical footprint on darwin...
Saam Barati
Comment 2
2018-08-07 18:10:31 PDT
Created
attachment 346748
[details]
patch
Simon Fraser (smfr)
Comment 3
2018-08-07 18:48:44 PDT
Comment on
attachment 346748
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=346748&action=review
> Source/WebCore/page/cocoa/ResourceUsageOverlayCocoa.mm:461 > + if (auto footprint = memoryFootprint())
I don't like how memoryFootprint() returns an optional. This isn't normally how we do error handling.
Saam Barati
Comment 4
2018-08-07 21:09:46 PDT
Comment on
attachment 346748
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=346748&action=review
>> Source/WebCore/page/cocoa/ResourceUsageOverlayCocoa.mm:461 >> + if (auto footprint = memoryFootprint()) > > I don't like how memoryFootprint() returns an optional. This isn't normally how we do error handling.
Also I don’t even think about this failing as really being standard error handling. A failure here is totally unexpected and not something that happens in practice. We should probably just make that function return zero in such a scenario
Saam Barati
Comment 5
2018-08-07 21:15:00 PDT
I’ll file a bug for this
WebKit Commit Bot
Comment 6
2018-08-07 21:41:35 PDT
Comment on
attachment 346748
[details]
patch Clearing flags on attachment: 346748 Committed
r234686
: <
https://trac.webkit.org/changeset/234686
>
WebKit Commit Bot
Comment 7
2018-08-07 21:41:37 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2018-08-07 21:42:20 PDT
<
rdar://problem/43033735
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug