Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3c6f81a1e22c7bfe964e7525bb89168e13ff1768
https://github.com/WebKit/WebKit/commit/3c6f81a1e22c7bfe964e7525bb89168e13ff1768
Author: Geoffrey Garen <[email protected]>
Date: 2026-06-06 (Sat, 06 Jun 2026)
Changed paths:
M Source/WebKit/CMakeLists.txt
A Source/WebKit/SwiftPrewarmCocoa.swift
M Source/cmake/WebKitCommon.cmake
A Source/cmake/WebKitSwiftPrewarm.cmake
Log Message:
-----------
[CMake] Prewarm WebKit Swift SDK module dependencies
https://bugs.webkit.org/show_bug.cgi?id=316449
rdar://178847703
Reviewed by Adrian Taylor, Elliott Williams, and Brandon Stewart.
On Mac Studio, there's a long single-CPU stall toward the end of
the build where we compile all the module dependencies for
WebKit_Internal in one swiftc invocation. The biggest dependencies
depend on each other, so we can't parallelize.
Prewarming compiles and caches SDK modules early, so they overlap
with other parallel work.
* Source/WebKit/CMakeLists.txt:
* Source/WebKit/SwiftPrewarmCocoa.swift: Added.
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitSwiftPrewarm.cmake: Added.
Canonical link: https://commits.webkit.org/314701@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications