eval-performance

Diagnose and optimize MSBuild project evaluation performance using binlog analysis.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ojrojas/AgentsInstructions --skill eval-performance-ojrojas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eval-performance
Source: https://github.com/ojrojas/AgentsInstructions/tree/main/.claude/skills/dotnet-msbuild/skills/eval-performance
Command: npx skills add https://github.com/ojrojas/AgentsInstructions --skill eval-performance-ojrojas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a guide for diagnosing and improving the performance of MSBuild project evaluation, focusing on optimization strategies and identifying bottlenecks in the build process.

Core Features & Use Cases

  • MSBuild Evaluation Phases: Explains the 5 MSBuild evaluation phases and their impact on build performance.
  • Binlog MCP Analysis: Utilizes the binlog MCP server tools for in-depth performance analysis.
  • Preprocessing Analysis: Analyzes MSBuild preprocessing output for insights into evaluation performance.
  • Glob Pattern Optimization: Offers guidelines for optimizing glob patterns to reduce unnecessary directory traversal.
  • Import Chain Analysis: Diagnoses and suggests solutions for deep import chains affecting performance.
  • Multiple Evaluations: Identifies and resolves issues related to multiple evaluations of the same project.
  • Property Function Cost: Assesses the impact of property functions on evaluation performance.

Quick Start

Analyze the evaluation performance of an MSBuild project using the 'eval-performance' skill.

Frequently Asked Questions about eval-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose slow MSBuild project evaluation performance?

MSBuild evaluation performance is diagnosed by analyzing binlog data and preprocessing output to identify bottlenecks across the five evaluation phases, glob patterns, import chains, and property functions.

What are the MSBuild evaluation phases and how do they impact build performance?

MSBuild evaluation phases consist of five distinct stages that process properties, items, and targets. Analyzing their impact helps identify which specific phase causes slow build starts and high evaluation times.

How do I optimize glob patterns to reduce directory traversal in MSBuild?

Optimizing glob patterns in MSBuild involves refining wildcard searches to minimize unnecessary directory traversal. This process reduces file matching overhead and significantly improves overall evaluation speed.

How do I analyze deep import chains affecting MSBuild evaluation time?

Analyzing deep import chains involves examining MSBuild preprocessing output to trace nested project references. Diagnosing these chains helps resolve redundant file loading and reduces overall evaluation time.

Can I use binlog analysis to identify multiple MSBuild project evaluations?

Yes, binlog analysis can identify multiple evaluations of the same MSBuild project. Diagnosing these redundant evaluations allows developers to resolve unnecessary reprocessing and improve build start times.

How do property functions impact MSBuild evaluation performance?

Property functions impact MSBuild evaluation performance by executing inline logic during the evaluation phase. Assessing their computational cost helps pinpoint expensive operations that delay build initialization.