What problem does it solve?
This Skill helps developers pinpoint and resolve performance bottlenecks in .NET applications by providing tools and guidance for real-time monitoring, event tracing, and memory dump analysis.
Core Features & Use Cases
- Real-Time Monitoring: Use
dotnet-counters to observe key performance metrics like CPU usage, GC heap size, and request rates.
- Event Tracing: Employ
dotnet-trace to capture detailed execution traces, generate flame graphs for CPU hot paths, and track memory allocations.
- Memory Dump Analysis: Utilize
dotnet-dump to capture and analyze process memory dumps, identifying memory leaks and object retention.
- Use Case: Your ASP.NET Core application is experiencing high latency under load. Use
dotnet-counters to see if CPU or memory is the bottleneck, then use dotnet-trace to generate a flame graph and identify the specific methods consuming the most CPU time.
Quick Start
Use dotnet-counters to monitor the default runtime counters for the process with ID 12345.