Backport Windows PGO + ThinLTO from main to v24 LTO builds for builds (x64 and Arm64)
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 122k
- Fork
- 37.3k
- Merge trung bình
- 4 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 283
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với issue #61964 và các PR được liệt kê #62761, #63114, #63413 và #63696 để hiểu các thay đổi của Windows PGO và ThinLTO. Công việc hoàn tất khi cấu hình liên quan được backport vào v24 và các bản build Windows LTO thành công cho cả x64 và Arm64.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- build-system, performance
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100