WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
272372
Optimize RenderBox::contentBoxRect()
https://bugs.webkit.org/show_bug.cgi?id=272372
Summary
Optimize RenderBox::contentBoxRect()
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-04-08 21:44:06 PDT
<
rdar://problem/126114704
>
Simon Fraser (smfr)
Comment 2
2024-04-08 21:46:53 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/27011
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.
Top of Page
Format For Printing
XML
Clone This Bug