Closed
Bug 1651931
Opened 5 years ago
Closed 5 years ago
Remove unnecessary includes from ContentChild.h
Categories
(Core :: DOM: Content Processes, task)
Core
DOM: Content Processes
Tracking
()
RESOLVED
FIXED
mozilla80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
ContentChild.h
is very expensive to include according to ClangBuildAnalyzer:
217505 ms: /home/simon/work/fuzzy/obj-x86_64-pc-linux-gnu-optimized/dist/include/mozilla/dom/ContentChild.h (included 105 times, avg 2071 ms), included via:
FOGIPC.cpp (5560 ms)
DriverCrashGuard.cpp (5230 ms)
ChildSHistory.cpp (5066 ms)
...
At the same time, it includes a look of expensive headers itself, not all of which seem to be really required.
Assignee | ||
Comment 1•5 years ago
|
||
Before these changes, ContentChild.h was the #9 most expensive header to include:
217505 ms: /home/simon/work/fuzzy/obj-x86_64-pc-linux-gnu-optimized/dist/include/mozilla/dom/ContentChild.h (included 105 times, avg 2071 ms)
After these changes, it is no longer among the top 30 most expensive headers.
Some missing includes in other files are added along.
Updated•5 years ago
|
Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0c1269889e8a
Remove unnecessary includes from ContentChild.h. r=nika
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•