Bug 253480 - [build] Add Precompiled header to speed up TestWebKitAPI compilation
Summary: [build] Add Precompiled header to speed up TestWebKitAPI compilation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dan Glastonbury
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-06 18:41 PST by Dan Glastonbury
Modified: 2023-03-07 01:32 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.