Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ead6b9d2b98b2440a935f185ddfa40801f9c97c
      
https://github.com/WebKit/WebKit/commit/4ead6b9d2b98b2440a935f185ddfa40801f9c97c
  Author: Geoffrey Garen <[email protected]>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M Source/WebCore/dom/ElementInlines.h
    M Source/WebCore/style/computed/StyleComputedStyleBase+GettersInlines.h
    M Source/WebCore/style/computed/StyleComputedStyleBase.h

  Log Message:
  -----------
  [Build Speed] REGRESSION (314565@main): Clean build is 30s slower
https://bugs.webkit.org/show_bug.cgi?id=316566
rdar://179033258

Reviewed by Sam Weinig.

Verified on M3 Max CMake build. (Other CPUs and Xcode build measured a 
regression but
I did not measure the fix on them individually because we do not have a build 
speed
A/B bot.)

* Source/WebCore/dom/ElementInlines.h: Avoid including 
StyleComputedStyle+GettersInlines.h
because parsing costs 6s per translation unit and ElementInlines.h is included
in hundreds of translation units.

Clients who end up using the StyleComputedStyle+GettersInlines.h aspect of this 
header
can #include StyleComputedStyle+GettersInlines.h individually.

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



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

Reply via email to