Bug 251752

Summary: Optimize layout of Document to reduce padding
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: DOMAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, esprehn+autocc, ews-watchlist, heycam, kangil.han, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Simon Fraser (smfr)
Reported 2023-02-04 23:01:14 PST
SVGDocument (and thus XMLDocument and Document) are large with lots of padding: Total byte size: 3088 Total pad bytes: 238 On a sample wikipedia page, there are 15 SVGDocuments for a total 46080 bytes (3072 allocated for each).
Attachments
Patch (17.28 KB, patch)
2023-02-04 23:04 PST, Simon Fraser (smfr)
no flags
Radar WebKit Bug Importer
Comment 1 2023-02-04 23:01:34 PST
Simon Fraser (smfr)
Comment 2 2023-02-04 23:04:05 PST
EWS
Comment 3 2023-02-05 22:42:00 PST
Committed 259879@main (a6fc9735c4b6): <https://commits.webkit.org/259879@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 464846 [details].
Note You need to log in before you can comment on or make changes to this bug.