nodejs / nodejs/node

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

Aperta
#65,452 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

feature request
Lingua principale
JavaScript
Stelle
122k
Fork
37.3k
Merge medio
4g 2h
PR unite (30g)
283

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con l’issue #61964 e le PR elencate #62761, #63114, #63413 e #63696 per comprendere le modifiche a Windows PGO e ThinLTO. Il lavoro è completo quando la configurazione pertinente è stata backportata a v24 e le build Windows LTO hanno esito positivo sia per x64 sia per Arm64.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
build-system, performance
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.