perf

Identify and resolve performance bottlenecks in .NET applications.

2|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/dimsour/dotnet-ai-toolkit --skill perf-dimsour
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf
Source: https://github.com/dimsour/dotnet-ai-toolkit/tree/main/plugins/dotnet-copilot/skills/perf
Command: npx skills add https://github.com/dimsour/dotnet-ai-toolkit --skill perf-dimsour

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires BenchmarkDotNet, dotnet-counters, dotnet-trace, dotnet-gcdump, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill offers comprehensive performance analysis for .NET applications, helping to identify bottlenecks, inefficiencies, and optimize system resources.

Core Features & Use Cases

  • Performance Profiling: Analyze EF query plans, async bottlenecks, GC pressure, and more.
  • Automated Diagnostics: Utilizes 'performance-profiler' agent to detect performance issues.
  • BenchmarkDotNet Setup: Assists in setting up performance benchmarks for micro-benchmarking.
  • Use Case: If your .NET application is experiencing latency issues, use this skill to profile the codebase and identify performance issues like N+1 queries, missing async optimizations, and memory leaks.

Quick Start

Analyze the performance of your application by running the 'perf' skill with a specific file or scenario.

Frequently Asked Questions about perf

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

FAQPage Schema
How do I identify performance bottlenecks in my .NET application?

To identify performance bottlenecks in a .NET application, you analyze the codebase using a performance-profiler agent. This process detects latency issues like N+1 queries, missing async optimizations, and memory leaks.

What's the best way to analyze EF query performance?

The best way to analyze EF query performance is by profiling the query plans to detect inefficiencies. This targets Entity Framework-specific issues like N+1 queries to resolve application latency.

How do I run memory profiling and GC pressure analysis for .NET?

Memory profiling and GC pressure analysis for .NET requires utilizing dotnet-gcdump and dotnet-counters. These tools provide detailed diagnostics to identify memory leaks and optimize system resources.

Can I use BenchmarkDotNet for micro-benchmarking .NET async performance?

Yes, you can use BenchmarkDotNet for micro-benchmarking .NET async performance. The skill assists in setting up performance benchmarks specifically to measure and tune async bottlenecks.

Do I need dotnet-trace to perform async analysis on a .NET codebase?

Yes, you need dotnet-trace and other .NET profiling tools to perform detailed async analysis. These dependencies are required to execute traces and resolve async performance bottlenecks effectively.