Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Establishes MSBuild and .NET build performance baselines via cold, warm, and incremental measurements before optimizing.
64% 100%+36 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 14 of 22 without it.
I need to measure the build speeds of our solution before making any optimization changes. Could you provide instructions on how to conduct and document a proper baseline timing study across cold, warm, and no-op builds, including sample capture setup and summary formatting?
Instructs to save each sample's binary log (binlog) under a unique name outside output directories
3 of 3 safety checks passed
Before optimizing a build, you need a baseline. Without measurements, optimization is guesswork. This skill covers how to establish baselines and apply systematic optimization techniques.
Related skills:
build-perf-diagnostics — binlog-based bottleneck identificationincremental-build — Inputs/Outputs and up-to-date checksbuild-parallelism — parallel and graph build tuningeval-performance — glob and import chain optimizationMeasure three scenarios to understand where time is spent. Keep the SDK, configuration, machine, environment variables, restore state, and build command consistent. Run each scenario at least three times, repeating its setup before every measured sample, and report the median plus the observed range; a single timing is not a baseline. Keep setup outside the timed interval. Save each sample's binlog under a unique name, outside generated output directories.
No previous build output exists. Measures the full end-to-end time including restore, compilation, and all targets.
Before every cold sample, restore the same source state, run dotnet clean
with the measured configuration, and remove only the confirmed, disposable
output and intermediate directories for the measured projects. Include custom
artifact paths, not just bin and obj, and obtain approval before deletion.
Verify those outputs are absent before timing the next build.
This is an output-cold build, not necessarily a cold NuGet, OS, or compiler server cache. Choose and record a consistent cache/server policy for all samples; do not clear shared caches. If measuring uncached restore, use a separate, empty package cache for each sample.
# After repeating the cold setup; use a unique log name for each sample
Next to this one in the catalogue, plus more from the same author.