[webkit-changes] [WebKit/WebKit] 9e3eea: Add TZoneMallocInlines.h to precompiled headers

Alex Christensen noreply at github.com
Wed Mar 12 15:07:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9e3eea44d0b941e1c652ceda33e0126207261baa
      https://github.com/WebKit/WebKit/commit/9e3eea44d0b941e1c652ceda33e0126207261baa
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M Source/JavaScriptCore/JavaScriptCorePrefix.h
    M Source/WebCore/WebCorePrefix.h
    M Source/WebKit/WebKit2Prefix.h

  Log Message:
  -----------
  Add TZoneMallocInlines.h to precompiled headers
https://bugs.webkit.org/show_bug.cgi?id=289636
rdar://146884680

Reviewed by Mark Lam.

TZoneMallocInlines.h is included 2597 times.  This is what precompiled
headers are for.  Adding it to WebCorePrefix.h reduced WebCore's build
time on my laptop from this:
make d  18.32s user 2.96s system 5% cpu 6:13.57 total
to this:
make d  13.43s user 2.13s system 4% cpu 5:35.53 total
A 40 second reduction in build times seems worth it to me.

* Source/JavaScriptCore/JavaScriptCorePrefix.h:
* Source/WebCore/WebCorePrefix.h:
* Source/WebKit/WebKit2Prefix.h:

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



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


More information about the webkit-changes mailing list