dotnet / dotnet/msbuild

Evaluate storing "buildplan" info in server node

Open
#11,673 0 comments 0 reactions 0 assignees View on GitHub
Area: Performance Area: Server triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

There are several pluggable scheduler options (that are mostly unused). One of them, activated with `MSBUILDENABLEBUILDPLAN`, stores information about a build for use in subsequent scheduling decisions. After a single build with "buildplan" enabled, we know the project-to-project references and approximate project execution time, which we can use to schedule better by understanding what the critical path through the last build was.

This required writing a `.buildplan` file to disk before, because the scheduler lived in the entrypoint node that lived only for the execution of a single command-line build. But now, with MSBuild server, we have a place where we can store that information persistently in memory. We should try that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.