dotnet / dotnet/sdk

Workload resolver too slow

Open
#49,609 3 comments 0 reactions 1 assignee Claimed by @JeremyKuhne View on GitHub
Area-Performance Area-Workloads untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

During project evaluation the vast majority of time is taken by the workload resolver:

![Image](https://github.com/user-attachments/assets/a36c28aa-fd6b-485e-9675-4a01810b3e45)

I profiled this little eval test here:
https://github.com/KirillOsenkov/MSBuildTools/blob/main/src/Evaluation/MultiProjectEval.cs

[ultra_eval_2025-06-30_16_41_37_pid_17448.json.gz](https://github.com/user-attachments/files/20988742/ultra_eval_2025-06-30_16_41_37_pid_17448.json.gz)

You can drag this file to https://profiler.firefox.com and examine the profile yourself.

Something tells me that something abnormal is going on here.

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.