Skip to content

UI delays when mixing legacy and CPS based projects #2712

@davkean

Description

@davkean

This is an ongoing investigation of a customer's solution that mixes legacy and CPS-based projects:

This is what I'm seeing with DefaultCompileItems disabled:

CPU

Description Time in trace Bug Actual impact on single project build Actual impact on solution build
Build dotnet/sdk#1496
SleepEx 11% dotnet/msbuild#2391
Monitor.Enter 1.2% dotnet/msbuild#2429
".targets", ".props" "*" in Before/After targets 0.5%
$(_NetStandardLibraryRefPath)*.dll 4.7% dotnet/standard#442 20% 9%
LegacyNormalizePath 0.9% dotnet/msbuild#2338
JIT Time (SDK) 120ms dotnet/sdk#1483
JIT Time (MSBuild) 75ms dotnet/msbuild#2419

Memory

Seeing a 180 MS GC pause in MSBuild process.

Description Memory
dotnet/msbuild#2267 1.5%
dotnet/msbuild#2433 0.7%
dotnet/msbuild#2435 1.0%
dotnet/msbuild#2402 2.4%
dotnet/msbuild#2438 0.2%
dotnet/msbuild#2437 3%

Metadata

Metadata

Assignees

Labels

Tenet-PerformanceThis issue affects the "Performance" tenet.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions