Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Explains that ResolveProjectReferences time reflects dependency wait time, not work, and redirects to task self-time analysis.
45% 91%+45 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 10 of 22 without it.
When extracting the Task Performance Summary from a diagnostic MSBuild text log using standard Unix command-line utilities, how many lines of context following the section header should be extracted to capture the full task ranking table?
Recommends using grep with a trailing context window of 50 lines after matching Task Performance Summary.
3 of 3 safety checks passed
Prevent misguided optimization of ResolveProjectReferences by explaining that its reported time is wall-clock wait time, not CPU work.
ResolveProjectReferences appears as the most expensive target in the Target Performance SummaryResolveProjectReferences directlybuild-perf-diagnostics instead)Csc, ResolveAssemblyReference)| Input | Required | Description |
|---|---|---|
| Build log or binlog | Yes | A diagnostic build log or binlog containing the Target Performance Summary |
Verify that ResolveProjectReferences appears as the top target in the Target Performance Summary. This is the misleading metric.
The reported time includes waiting for dependent projects to build while the MSBuild node is yielded (see dotnet/msbuild#3135). During this wait, the node may be doing useful work on other projects. The target itself does very little work.
Use the Task Performance Summary to identify the real bottleneck.
Use the binlog MCP server expensive_tasks tool to get task self-time rankings directly from the binlog.
Next to this one in the catalogue, plus more from the same author.