Bug 253480

Summary: [build] Add Precompiled header to speed up TestWebKitAPI compilation
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: Tools / TestsAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Dan Glastonbury 2023-03-06 18:41:46 PST
ClangBuildAnaylzer reports parsing taking ~1200s across all files on an M1
MacStudio, predominately in Cocoa.h and gtest.h. By introducing a PCH including
those files, parsing time is reduced to ~400s.
Comment 1 Radar WebKit Bug Importer 2023-03-06 18:42:19 PST
<rdar://problem/106341388>
Comment 2 Dan Glastonbury 2023-03-06 18:45:24 PST
Pull request: https://github.com/WebKit/WebKit/pull/11146
Comment 3 EWS 2023-03-07 01:32:28 PST
Committed 261321@main (66552a5b71b8): <https://commits.webkit.org/261321@main>

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