[webkit-changes] [WebKit/WebKit] 66552a: [build] Add Precompiled header to speed up TestWeb...

Dan Glastonbury noreply at github.com
Tue Mar 7 01:32:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 66552a5b71b88c26b9240cc88c7247b77ccf0d86
      https://github.com/WebKit/WebKit/commit/66552a5b71b88c26b9240cc88c7247b77ccf0d86
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Configurations/Base.xcconfig
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    A Tools/TestWebKitAPI/TestWebKitAPIPrefix.h

  Log Message:
  -----------
  [build] Add Precompiled header to speed up TestWebKitAPI compilation
https://bugs.webkit.org/show_bug.cgi?id=253480
rdar://problem/106341388

Reviewed by Brent Fulgham.

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.

* Tools/TestWebKitAPI/Configurations/Base.xcconfig:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/TestWebKitAPIPrefix.h: Added.

Canonical link: https://commits.webkit.org/261321@main




More information about the webkit-changes mailing list