Bug 233476

Summary: Allocate HistoricResourceUsageData on the heap to reduce binary size
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebCore Misc.Assignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED WONTFIX    
Severity: Normal CC: sam, simon.fraser, sk21renee376
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=212878
Attachments:
Description Flags
Patch sam: review+, ews-feeder: commit-queue-

Description Simon Fraser (smfr) 2021-11-24 10:52:27 PST
Allocate HistoricResourceUsageData on the heap to reduce binary size
Comment 1 Simon Fraser (smfr) 2021-11-24 10:53:21 PST
Created attachment 445101 [details]
Patch
Comment 2 Sam Weinig 2021-11-24 11:02:22 PST
Comment on attachment 445101 [details]
Patch

Nice.
Comment 3 Simon Fraser (smfr) 2021-11-24 13:04:07 PST
Comment on attachment 445101 [details]
Patch

Turns out removing data from __DATA/__bss doesn't affect binary size.