WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
262620
[Potential Optimization] Do less integer division on ARM since it is slow
https://bugs.webkit.org/show_bug.cgi?id=262620
Summary
[Potential Optimization] Do less integer division on ARM since it is slow
Ahmad Saleem
Reported
2023-10-04 08:41:07 PDT
Hi Team, This is potential optimization, which might be applicable in WebKit code but couldn't at the same team or not worthwhile due to code complexity. Although I thought to raise bug to get input. Blink Commit:
https://src.chromium.org/viewvc/blink?view=revision&revision=171031
WebKit Source:
https://searchfox.org/wubkat/source/Source/WebCore/platform/graphics/GlyphPage.h#78
&
https://searchfox.org/wubkat/source/Source/WebCore/platform/graphics/Font.cpp#414
Just wanted to raise. CCing - Chris - who might be interested to share his input. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-10-04 13:23:24 PDT
<
rdar://problem/116482301
>
Vitor Roriz
Comment 2
2023-10-04 13:41:20 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/18638
Vitor Roriz
Comment 3
2023-10-06 07:24:38 PDT
Thank you for the report Ahmad, however, I've tested the performance for these changes and they didn't show any relevant progression on our ARM-based devices. Probably nowadays the compilers are smart enough to optimize it.
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