dotnet-perf
OfficialOptimize .NET code for peak performance.
AuthorObjective-Arts
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses performance bottlenecks in .NET applications by identifying and eliminating inefficient memory allocations and promoting best practices for high-performance code.
Core Features & Use Cases
- Allocation Reduction: Guides developers to use
Span<T>,ArrayPool<T>, andObjectPool<T>to minimize heap allocations. - Benchmarking: Emphasizes the use of BenchmarkDotNet with
MemoryDiagnoserfor accurate performance measurement. - Use Case: Refactor a critical loop in your C# application that frequently allocates temporary strings or arrays, significantly reducing garbage collection pressure and improving throughput.
Quick Start
Apply the dotnet-perf skill to analyze and optimize the provided C# code for performance.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-perf Download link: https://github.com/Objective-Arts/lens/archive/main.zip#dotnet-perf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.