Skip to content

Local dev build perf improvements #53649

Open

Description

@marcpopMSFT

I had copilot run some builds locally and analyze the binlogs.

Here were its suggestions. Recording just so this isn't lost. I think we could do more to limit what a local build does whether it's through filtering, limiting the build, not building the archives, etc.

#53607 came out of this.

Fix Estimated Impact Effort
Build with /p:TargetFramework=net11.0 for single-TFM inner loop Eliminates DispatchToInnerBuilds (9.6 min cumulative saved) None — just a flag
Use filtered solutions (cli.slnf, etc.) for focused work Build only 9 projects instead of 184 None — already available
Skip code coverage (MsCoverageReferencedPathMaps) locally ~5 min cumulative saved 1 property
After initial build, use /p:BuildProjectReferences=false Eliminates 42 min cumulative RPR walk Flag + docs
Investigate MSBuild graph build (/graph) Fundamentally faster project traversal POC needed
Add Inputs/Outputs to redist layout targets 3.8 min → seconds for redist on no-op ~1 day

Activity

  1. added
    untriaged
    on Mar 31, 2026
  2. marcpopMSFT commented on Mar 31, 2026

    @marcpopMSFT
    MemberAuthor

    CC @MichaelSimons for visibility on the analysis I had copilot do as we discussed the local dev experience.

  3. added this to the Backlog milestone on Mar 31, 2026
  4. removed
    untriaged
    on Mar 31, 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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions