nodejs / nodejs/node

Backport Windows PGO + ThinLTO from main to v24 LTO builds for builds (x64 and Arm64)

オープン
#65,452 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

feature request
主要言語
JavaScript
スター
122k
フォーク
37.3k
平均マージ
4日 2時間
マージ済み PR(30日)
283

説明

What is the problem this feature will solve?

Improve performance of Windows builds by 15% by backporting the perf improvements brought through PGO and ThinLTO enablement, from v26 to v24 LTS releases.

See issue #61964 for work description for the v26 changes.
Separate perf suite results are here
ThinLTO: https://github.com/JaneaSystems/node-thin-lto-perf
PGO: https://github.com/JaneaSystems/node-pgo-perf

What is the feature you are proposing to solve the problem?

Backport the relevant PRs (and related config changes the the build):

  • [nodejs/node] Enable PGO for Windows builds (x64 and Arm64) (I #61964)
  • [nodejs/node] build,win: enable PGO and LTO for Windows builds (PR #62761)
  • [nodejs/node] build,win: build,win: replace LTCG with Thin LTO for releases (PR #63114)
  • [nodejs/node] build,win: fix VS2022 arm64 PGO build (PR #63413)
  • [nodejs/node] build,win: add PGO workload scripts (PR #63696)
What alternatives have you considered?

none

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue #61964 と、一覧にある PR #62761、#63114、#63413、#63696 から始めて、Windows PGO と ThinLTO の変更を理解してください。関連する設定が v24 にバックポートされ、x64 と Arm64 の両方で Windows LTO ビルドが成功すれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
build-system, performance
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。