Backport Windows PGO + ThinLTO from main to v24 LTO builds for builds (x64 and Arm64)
未关闭
还没有人认领这个 Issue。
feature request
- 主要语言
- JavaScript
- 星标
- 122k
- 派生
- 37.3k
- 平均合并
- 4 天 2 小时
- 30 天内合并 PR
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue #61964 以及列出的 PR #62761、#63114、#63413 和 #63696 开始,了解 Windows PGO 和 ThinLTO 的更改。当相关配置被 backport 到 v24,并且 Windows LTO 构建在 x64 和 Arm64 上都成功时,工作就完成了。
由索引模型根据 Issue 内容生成。
评估
- 领域
- build-system, performance
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100