Bug 272372

Summary: Optimize RenderBox::contentBoxRect()
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2024-04-08 21:43:53 PDT
RenderBox::contentBoxRect() is fairly hot in some profiles, and costly because contentWidth() and contentHeight() both fan out to multiple calls that checking scrollbarGutter() and checking for scrollbars.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-04-08 21:44:06 PDT
Simon Fraser (smfr)
Comment 2 2024-04-08 21:46:53 PDT
EWS
Comment 3 2024-04-09 09:35:19 PDT
Committed 277251@main (9ab862354f2a): <https://commits.webkit.org/277251@main> Reviewed commits have been landed. Closing PR #27011 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.