Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: de6c371b533d07f008e81f12ecca4d638435ffa4
https://github.com/WebKit/WebKit/commit/de6c371b533d07f008e81f12ecca4d638435ffa4
Author: Keith Miller <[email protected]>
Date: 2026-07-14 (Tue, 14 Jul 2026)
Changed paths:
M CMakePresets.json
M Source/JavaScriptCore/CMakeLists.txt
M Source/WTF/wtf/CMakeLists.txt
M Source/WebCore/CMakeLists.txt
M Source/WebKit/CMakeLists.txt
M Source/bmalloc/CMakeLists.txt
M Source/cmake/OptionsCocoa.cmake
M Source/cmake/WebKitCommon.cmake
Log Message:
-----------
[CMake] Add mac-performance preset with PGO/LTO support
https://bugs.webkit.org/show_bug.cgi?id=319174
rdar://182009951
Reviewed by Elliott Williams.
Add a new preset: mac-performance that enables PGO/LTO. The goal of this
mode is to reflect any future shipping CMake build as much as possible.
I didn't enable PGO by default for release builds with the internal SDK
because it does seem to noticeably slow down the build (1:50-2:00
without PGO vs 2:10-2:20 with for `--target jsc` builds).
When PGO is enabled for internal SDK builds it uses an OptionsPGO.cmake
to configure PGO data and disables the OSS PGO CMake logic.
Canonical link: https://commits.webkit.org/317133@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications