Title: [290993] trunk/Source/_javascript_Core
Revision
290993
Author
sbar...@apple.com
Date
2022-03-08 08:42:32 -0800 (Tue, 08 Mar 2022)

Log Message

[JSC] Enable ThinLTO
https://bugs.webkit.org/show_bug.cgi?id=229019
<rdar://problem/82107543>

Reviewed by Mark Lam.

It's a 1% speedup on Speedometer2 across x86 and arm64, and 0.5-1% speedup on
JetStream2 depending on the device.

* Configurations/Base.xcconfig:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (290992 => 290993)


--- trunk/Source/_javascript_Core/ChangeLog	2022-03-08 16:24:11 UTC (rev 290992)
+++ trunk/Source/_javascript_Core/ChangeLog	2022-03-08 16:42:32 UTC (rev 290993)
@@ -1,3 +1,16 @@
+2022-03-08  Saam Barati  <sbar...@apple.com>
+
+        [JSC] Enable ThinLTO
+        https://bugs.webkit.org/show_bug.cgi?id=229019
+        <rdar://problem/82107543>
+
+        Reviewed by Mark Lam.
+
+        It's a 1% speedup on Speedometer2 across x86 and arm64, and 0.5-1% speedup on
+        JetStream2 depending on the device.
+
+        * Configurations/Base.xcconfig:
+
 2022-03-08  Chris Dumez  <cdu...@apple.com>
 
         Unreviewed, reverting r290975.

Modified: trunk/Source/_javascript_Core/Configurations/Base.xcconfig (290992 => 290993)


--- trunk/Source/_javascript_Core/Configurations/Base.xcconfig	2022-03-08 16:24:11 UTC (rev 290992)
+++ trunk/Source/_javascript_Core/Configurations/Base.xcconfig	2022-03-08 16:42:32 UTC (rev 290993)
@@ -190,9 +190,7 @@
 WK_WEBKITADDITIONS_INSTALL_PATH = /usr/local/include/WebKitAdditions
 WK_WEBKITADDITIONS_HEADERS_FOLDER_PATH = $(SDKROOT)/$(WK_WEBKITADDITIONS_INSTALL_PATH)
 
-// Disable LTO for _javascript_Core, due to <rdar://problem/24543547>. Add back the following line and delete the one that says "LLVM_LTO = NO" when that issue is resolved.
-// LLVM_LTO = $(WK_LLVM_LTO_$(WK_XCODE_SUPPORTS_LTO));
-LLVM_LTO = NO;
+LLVM_LTO = $(WK_LLVM_LTO_$(WK_XCODE_SUPPORTS_LTO));
 WK_LLVM_LTO_NO = NO;
 WK_LLVM_LTO_YES = $(WK_USER_LTO_MODE);
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to