GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Enable PGO for Windows builds (x64 and Arm64) · Issue #61964 · nodejs/node

Enable PGO for Windows builds (x64 and Arm64) #61964

New issue
Copy link
New issue
Copy link
Closed
Closed
Enable PGO for Windows builds (x64 and Arm64)#61964
Copy link
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.feature requestIssues requesting new Node.js features.

Description

@marcpems
marcpems
opened on Feb 24, 2026
Issue body actions

What is the problem this feature will solve?

Profile Guided Optimization has been available for some time now, and stats from projects that adopt PGO commonly show runtime perf improvements of around 10%. LLVM and MSVC offer PGO when building Windows apps for x64 and Arm64 ABI apps.

This request is to investigate and implement PGO in the CI release jobs when building Windows versions of nodeJS for both Arm64 and x64 ABIs.

Overview of LLVM PGO process:
https://llvm.org/devmtg/2020-09/slides/PGO_Instrumentation.pdf

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

Add to the CI release jobs:

  • Enable PGO instrumentation profiling during first pass build.
  • execute nodejs using a predefined test script for most common scenarios to generate profile data
  • Relink the app using the profile data for optimization guidance.

What alternatives have you considered?

nonw

Activity

  1. marcpems
    added
    feature requestIssues requesting new Node.js features.
    on Feb 24, 2026
  2. github-project-automation
    added this to Node.js feature requestson Feb 24, 2026
  3. github-project-automation
    moved this to Awaiting Triage in Node.js feature requestson Feb 24, 2026
  4. Renegade334
    added
    buildIssues and PRs related to Node.js builds or CI infrastructure.
    on Mar 9, 2026
  5. nodejs-github-bot
    added a commit that references this issue on Apr 23, 2026

    build,win: enable x64 PGO

    262dee5
  6. aduh95
    added a commit that references this issue on May 5, 2026

    build,win: enable x64 PGO

    a6e9987
  7. nodejs-github-bot
    added a commit that references this issue on May 20, 2026

    build,win: replace LTCG with Thin LTO for releases

    614050b
  8. aduh95
    added a commit that references this issue on May 22, 2026

    build,win: replace LTCG with Thin LTO for releases

    8603275
  9. github-actions commented on Jul 20, 2026

    @github-actions
    github-actionsBot
    on Jul 20, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue has been marked as stale due to 90 days of inactivity.
    It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.

  10. github-actions
    added
    staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.
    on Jul 20, 2026
  11. avivkeller
    closed this as not plannedon Aug 9, 2026
  12. StefanStojanovic commented on Aug 20, 2026

    @StefanStojanovic
    StefanStojanovic
    on Aug 20, 2026
    Contributor
    More actions

    Reopening this, since it is still in progress.

    A short update: Thin LTO is already enabled on Windows and used in releases. PGO workload scripts are approved and should land soon, and I've done tests for enabling PGO in the release CI.

    I just never commented on this issue, so it got marked as stale and eventually closed.

  13. StefanStojanovic
    reopened this on Aug 20, 2026
  14. nodejs-github-bot
    added a commit that references this issue on Aug 20, 2026

    build,win: add PGO workload scripts

    58d58a4
  15. github-actions
    removed
    staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.
    on Aug 21, 2026
  16. aduh95
    added 3 commits that reference this issue on Aug 25, 2026

    build,win: add PGO workload scripts

    8a744b2

    build,win: add PGO workload scripts

    1a4f5e5

    build,win: add PGO workload scripts

    07c0921
  17. aduh95
    added 2 commits that reference this issue on Sep 7, 2026

    build,win: add PGO workload scripts

    2b11b95

    build,win: add PGO workload scripts

    f62bc0f
  18. StefanStojanovic commented on Sep 22, 2026

    @StefanStojanovic
    StefanStojanovic
    on Sep 22, 2026
    Contributor
    More actions

    This issue can be closed now. LTO has been enabled in Windows releases since v26.3.0, and PGO has been enabled in v26.9.0.

  19. StefanStojanovic
    closed this as completedon Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.feature requestIssues requesting new Node.js features.

    Type

    No type

    Projects

    • Node.js feature requests
      Status
      Awaiting Triage
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.