Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fa8e2b357524313f89a1e27360a93a05ed42d049
      
https://github.com/WebKit/WebKit/commit/fa8e2b357524313f89a1e27360a93a05ed42d049
  Author: Geoffrey Garen <[email protected]>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M Source/cmake/WebKitCompilerFlags.cmake

  Log Message:
  -----------
  [CMake] enable -fpch-instantiate-templates
https://bugs.webkit.org/show_bug.cgi?id=314020
rdar://176212395

Reviewed by Keith Miller.

~7s / 7% measured speedup on JavaScriptCore build time. (Projected
~19s speedup on full build time.)

-fpch-instantiate-templates allows a precompiled header to cache
the *instantiated* version of a template rather than the *parsed*
version. That way, .cpp files that include the precompiled header
don't need to instantiate.

* Source/cmake/WebKitCompilerFlags.cmake: Turn on
-fpch-instantiate-templates. (It's disabled by default in CMake
because of a funky version number workaround from like a decade
ago, which never got removed.)

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to