Bug 261364 - High system cpu load during IDL generation
Summary: High system cpu load during IDL generation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Elliott Williams
URL:
Keywords: InRadar
Depends on:
Blocks: 262321
  Show dependency treegraph
 
Reported: 2023-09-08 19:25 PDT by Elliott Williams
Modified: 2023-12-04 16:48 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elliott Williams 2023-09-08 19:25:19 PDT
On a M1 Ultra Mac Studio, WebCore’s derived sources target takes ~ 50sec to build, with most of that time spent generating IDLs. It scales to use all CPUs, but puts comparatively more load on the system than on user processes. We should figure out why this is such a system-heavy operation, and optimize it.
Comment 1 Radar WebKit Bug Importer 2023-09-15 19:27:00 PDT
<rdar://problem/115584014>
Comment 2 Elliott Williams 2023-09-21 13:22:03 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18038
Comment 3 EWS 2023-09-27 21:08:42 PDT
Committed 268561@main (eadc88e2217f): <https://commits.webkit.org/268561@main>

Reviewed commits have been landed. Closing PR #18038 and removing active labels.
Comment 4 EWS 2023-09-28 13:28:27 PDT
Committed 268606@main (aa8545f5047b): <https://commits.webkit.org/268606@main>

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