analyzing-dotnet-performance

Scan .NET code for performance anti-patterns and produce prioritized fixes.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/kierunb/ReliableAppDemo --skill analyzing-dotnet-performance-kierunb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyzing-dotnet-performance
Source: https://github.com/kierunb/ReliableAppDemo/tree/main/.github/skills/dotnet-diag/skills/analyzing-dotnet-performance
Command: npx skills add https://github.com/kierunb/ReliableAppDemo --skill analyzing-dotnet-performance-kierunb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification to guide optimization efforts.

Core Features & Use Cases

  • Scans C#/.NET code for performance anti-patterns and produces prioritized findings with actionable fixes.
  • Applies to code reviews, hot-path optimization, and auditing allocation-heavy patterns.
  • Patterns sourced from the official .NET performance guidance, distilled into customer-actionable advice.

Quick Start

Run a code scan on your .NET project to surface and fix common performance anti-patterns.

Frequently Asked Questions about analyzing-dotnet-performance

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

FAQPage Schema
How do I find .NET performance anti-patterns in my C# code?

To find .NET performance anti-patterns, scan your C# codebase to surface common issues across async, memory, strings, collections, LINQ, regex, serialization, and I/O. The scan produces prioritized findings with concrete fixes.

What are common .NET memory allocation anti-patterns to check before release?

Common .NET memory allocation anti-patterns include substringing, repeated allocations, and inefficient collection usage. Scanning for these patterns surfaces their severity and provides recommended mitigations for pre-release audits.

Can I optimize .NET hot paths by detecting specific LINQ and string issues?

You can optimize .NET hot paths by detecting specific LINQ and string anti-patterns. The analysis applies tiered severity classification to guide exactly which allocation-heavy patterns require immediate optimization.

What is the best way to audit async and I/O performance issues in .NET?

The best way to audit async and I/O performance issues in .NET is to run a comprehensive scan sourced from official performance guidance. This produces actionable findings with concrete fixes distilled into customer-actionable advice.

Does this .NET code analysis cover regex and serialization performance?

This .NET code analysis covers regex and serialization performance alongside async, memory, strings, collections, LINQ, and I/O. It identifies approximately 50 distinct anti-patterns and prioritizes them by severity.

When should I scan my .NET project for performance anti-patterns?

You should scan your .NET project for performance anti-patterns during code reviews, hot-path optimization, and pre-release audits. This ensures allocation-heavy patterns are identified and fixed before impacting production.