WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
238650
devirtualize Node::customPseudoId
https://bugs.webkit.org/show_bug.cgi?id=238650
Summary
devirtualize Node::customPseudoId
Cameron McCormack (:heycam)
Reported
2022-03-31 20:26:18 PDT
Node::pseudoId calls customPseudoId, a virtual function, only if the node has a custom style resolver. In Speedometer 2, many non-PseudoElement nodes (the <input> elements) do, and Node::customPseudoId ends up being the third top virtual function called. PseudoElement is the only class that needs to provide a non-None result, so it's not too hard to devirtualize this.
Attachments
Patch
(4.31 KB, patch)
2022-03-31 20:29 PDT
,
Cameron McCormack (:heycam)
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Cameron McCormack (:heycam)
Comment 1
2022-03-31 20:29:27 PDT
Created
attachment 456316
[details]
Patch
Radar WebKit Bug Importer
Comment 2
2022-03-31 23:28:37 PDT
<
rdar://problem/91147437
>
Cameron McCormack (:heycam)
Comment 3
2022-04-02 14:53:03 PDT
Subsequent testing showed this was not as much of a win as an earlier benchmark run showed.
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