build-perf-diagnostics

Installation
SKILL.md

Performance Analysis Methodology

  1. Generate a binlog: dotnet build /bl:{} -m
  2. Replay to diagnostic log with performance summary:
    dotnet msbuild build.binlog -noconlog -fl -flp:v=diag;logfile=full.log;performancesummary
    
  3. Read the performance summary (at the end of full.log):
    grep "Target Performance Summary\|Task Performance Summary" -A 50 full.log
    
  4. Find expensive targets and tasks: The PerformanceSummary section lists all targets/tasks sorted by cumulative time
  5. Check for node utilization: grep for scheduling and node messages
    grep -i "node.*assigned\|building with\|scheduler" full.log | head -30
    
  6. Check analyzers: grep for analyzer timing
    grep -i "analyzer.*elapsed\|Total analyzer execution time\|CompilerAnalyzerDriver" full.log
    
Related skills
Installs
3
GitHub Stars
371
First Seen
Apr 11, 2026