Bug 253859

Summary: Add additional STL things to PCH files
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Brent Fulgham 2023-03-13 17:27:39 PDT
Flamegraphs of the build revealed a few STL headers, and one OS logging header, that are particularly costly. Adding them to our precompiled header set shows a measurable reduction in build time.

Prior to this change:
**** Time summary:
Compilation (10204 times):
  Parsing (frontend):         9250.1 s
  Codegen & opts (backend):   3311.8 s

With this change:
**** Time summary:
Compilation (10202 times):
  Parsing (frontend):         8907.4 s
  Codegen & opts (backend):   3189.9 s
Comment 1 Radar WebKit Bug Importer 2023-03-13 17:28:05 PDT
<rdar://problem/106673843>
Comment 2 Brent Fulgham 2023-03-13 17:31:28 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11471
Comment 3 EWS 2023-03-14 10:09:47 PDT
Committed 261636@main (25b5fe6befd0): <https://commits.webkit.org/261636@main>

Reviewed commits have been landed. Closing PR #11471 and removing active labels.