dotnet-benchmarkdotnet

Installation
SKILL.md

dotnet-benchmarkdotnet

Microbenchmarking guidance for .NET using BenchmarkDotNet v0.14+. Covers benchmark class setup, memory and disassembly diagnosers, exporters for CI artifact collection, baseline comparisons, and common pitfalls that invalidate measurements.

Version assumptions: BenchmarkDotNet v0.14+ on .NET 8.0+ baseline. Examples use current stable APIs.

Scope

  • Benchmark class setup and configuration
  • Memory and disassembly diagnosers
  • Exporters for CI artifact collection
  • Baseline comparisons and result analysis
  • Common pitfalls that invalidate measurements
  • Parameterized benchmarks with [Params] and benchmark categories

Out of scope

  • Performance architecture patterns (Span, ArrayPool, sealed) -- see [skill:dotnet-performance-patterns]
  • Profiling tools (dotnet-counters, dotnet-trace, dotnet-dump) -- see [skill:dotnet-profiling]
Related skills

More from novotnyllc/dotnet-artisan

Installs
5
GitHub Stars
208
First Seen
Feb 24, 2026