Backport Windows PGO + ThinLTO from main to v24 LTO builds for builds (x64 and Arm64)
オープン
まだ誰も着手していません。
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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