Static graph construction does not use a shared evaluation context #9678
Labels
Area: Static Graph
Issues with -graph, -isolate, and the related APIs.
performance
Performance-Scenario-General
This issue affects performance in general.
triaged
Milestone
With a tiny API consumer project (reference
Microsoft.Build.MSBuildLocator
andMicrosoft.Build
:Run under tracing and look at events like
Microsoft-Build/SdkResolverServiceFindResolversManifests/Stop
andMicrosoft-Build/SdkResolverResolveSdk/Stop
. In my test run (on the MSBuild repo), I see a lot of wasted work:FindResolversManifests
SdkResolverResolveSdk
Debugging through, each project evaluated by the graph is in its own
EvaluationContext
, so they share nothing--including the list of resolvers.The text was updated successfully, but these errors were encountered: