Open
Description
This is from a fully no-op build of a reference source project that doesn't have any dependencies:
C:\git\runtime4>.\.dotnet\dotnet.exe msbuild /t:Build /v:minimal /clp:performancesummary C:\git\runtime4\src\libraries\System.Runtime\ref\System.Runtime.csproj
System.Runtime -> C:\git\runtime4\artifacts\bin\System.Runtime\ref\Debug\net9.0\System.Runtime.dll
Project Evaluation Performance Summary:
557 ms C:\git\runtime4\src\libraries\System.Runtime\ref\System.Runtime.csproj 1 calls
We should ETW trace this by following the guidance here: https://github.com/dotnet/msbuild/blob/main/documentation/specs/event-source.md
This impacts everything:
- Tooling performance (VS, VSCode, everything that uses the project system and msbuild underneath)
- CLI performance: Restore, Build, Pack, ...
cc @dotnet/area-infrastructure-libraries