Bug 250950

Summary: Allow early exit from pruneDeadResources() when targetSize is 0
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, bfulgham, koivisto, sabouhallawa, simon.fraser, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>