WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
253741
Avoid including Document.h in DocumentParser and JSObject.h in JSSegmentedVariableObject.h
https://bugs.webkit.org/show_bug.cgi?id=253741
Summary
Avoid including Document.h in DocumentParser and JSObject.h in JSSegmentedVar...
Brent Fulgham
Reported
2023-03-10 17:05:06 PST
The Document.h and JSObject.h headers are very costly. They are included in a few places where they are not used: 1. DocumentParser.h doesn't need to include the header, and already includes it in its implementation file. 2. JSSegmentedVariableObject.h doesn't use the contents of JSObject.h at all, so pays a heavy price for no benefit. These two changes save about 4 minutes of CPU time parsing, and about 0.75 minutes of codegen.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-03-10 17:05:28 PST
<
rdar://problem/106579489
>
Brent Fulgham
Comment 2
2023-03-10 17:08:12 PST
Pull request:
https://github.com/WebKit/WebKit/pull/11392
EWS
Comment 3
2023-03-10 20:27:06 PST
Committed
261538@main
(f19ec43b3605): <
https://commits.webkit.org/261538@main
> Reviewed commits have been landed. Closing PR #11392 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