Bug 253725 - Add <functional> to precompiled header set
Summary: Add <functional> to precompiled header set
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-10 11:14 PST by Brent Fulgham
Modified: 2023-03-10 15:02 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2023-03-10 11:14:36 PST
One of the most costly headers across the build is boyer_moore_searcher.h, which is used inside <functional>. The file is included 2499 times.

Before the proposed change:

**** Time summary:
Compilation (10226 times):
  Parsing (frontend):         9479.2 s
  Codegen & opts (backend):   3429.0 s

With the change:

**** Time summary:
Compilation (10196 times):
  Parsing (frontend):         9312.7 s
  Codegen & opts (backend):   3316.7 s


Roughly a savings of 2.75 CPU minutes in parsing, and close to 2 CPU minutes in codegen.
Comment 1 Radar WebKit Bug Importer 2023-03-10 11:15:52 PST
<rdar://problem/106562509>
Comment 2 Brent Fulgham 2023-03-10 11:19:13 PST
Pull request: https://github.com/WebKit/WebKit/pull/11374
Comment 3 EWS 2023-03-10 15:02:13 PST
Committed 261531@main (1f6f5b1e5d87): <https://commits.webkit.org/261531@main>

Reviewed commits have been landed. Closing PR #11374 and removing active labels.