Bug 250950 - Allow early exit from pruneDeadResources() when targetSize is 0
Summary: Allow early exit from pruneDeadResources() when targetSize is 0
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-01-21 15:47 PST by Ahmad Saleem
Modified: 2023-01-28 15:48 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-01-21 15:47:37 PST
Hi Team,

While going through Blink's commit, I came across another potential merge, where they noticed performance telemetry improvement on Image heavy test case:

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/26cbbcec029d1c1984f7e974d69d219ead67924e

^ Unfortunately there is no test case.

WebKit - https://searchfox.org/wubkat/source/Source/WebCore/loader/cache/MemoryCache.cpp#213 & https://searchfox.org/wubkat/source/Source/WebCore/loader/cache/MemoryCache.cpp#309

Just wanted to raise to get input.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-01-28 15:48:17 PST
<rdar://problem/104786479>