dotnet / dotnet/msbuild

Report self time and total time in performance summary

Open
#3,135 1 comment 2 reactions 0 assignees View on GitHub
Area: Debuggability Area: Engine Area: Performance backlog Priority:2 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

(result of a conversation offline with @angocke)

When looking at the performance summary, you often see numbers like

```
2274870 ms ResolveProjectReferences 71 calls
200719 ms CoreCompile 71 calls
```

It's quite surprising to see ResolveProjectReferences take so long. It's happening because time spent waiting on the references to build from within one project (while the node is yielded and hopefully doing other useful work) is attributed to the MSBuild task and to RPR.

We should consider adding a "self time" column to the output to report time spent in tasks and targets _excluding time the node is yielded_. That would help understand where the time is actually being spent.

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.