build-perf-baseline

Measures cold, warm, and no-op build times for MSBuild/.NET projects.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/1k-off/umbraco-observability-playground --skill build-perf-baseline-1k-off
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-perf-baseline
Source: https://github.com/1k-off/umbraco-observability-playground/tree/main/.agents/skills/build-perf-baseline
Command: npx skills add https://github.com/1k-off/umbraco-observability-playground --skill build-perf-baseline-1k-off

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents guesswork by showing how to establish reliable build-time baselines so optimization decisions are driven by before/after measurements instead of intuition.

Core Features & Use Cases

  • Baseline measurement across cold, warm, and no-op builds to verify restore/compile behavior and incremental correctness.
  • Apply targeted MSBuild/.NET optimization levers including MSBuild Server, artifacts output layout, deterministic builds, dependency graph trimming, static graph builds, and parallelism tuning.
  • Use cases: diagnosing slow or regressing builds, proving the impact of configuration changes in CI, and reducing critical path rebuilds in large multi-project solutions.

Quick Start

Run a cold, warm, and no-op dotnet build with binary logs to record your starting performance and confirm incremental build health before changing anything.

Frequently Asked Questions about build-perf-baseline

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

FAQPage Schema
How do I establish a build performance baseline for MSBuild and .NET projects?

To establish a build performance baseline, run cold, warm, and no-op dotnet builds with structured binary logs to measure starting performance. This verifies restore and compile behavior while confirming incremental build health before applying any optimizations.

What is the best way to measure and optimize slow dotnet build times?

The best way to optimize slow dotnet build times is to measure baselines first using binary logs, then apply targeted levers like MSBuild Server, deterministic outputs, static graph builds, and parallelism tuning to reduce critical path rebuilds.

Does MSBuild Server and static graph build (/graph) actually improve .NET incremental builds?

MSBuild Server and static graph builds are targeted optimization levers that improve .NET incremental builds by tuning parallelism and dependency graph trimming. Measuring cold, warm, and no-op scenarios with binary logs proves their impact on critical path rebuilds.

How do I diagnose regressing build times in a large multi-project .NET solution?

Diagnose regressing build times in large multi-project solutions by capturing baseline measurements across no-op and warm builds with binary logs. This quantifies where build time is spent to prove the impact of CI configuration changes.

When do I need to configure UseArtifactsOutput and reference trimming for build optimization?

Configure UseArtifactsOutput and reference trimming when baseline measurements show unhealthy incremental behavior or slow warm builds. These MSBuild levers reduce critical path rebuilds and improve deterministic outputs after establishing initial binary log baselines.