performance-profiling-expert
Installation
SKILL.md
Memory Leak & Performance Profiler
This skill focuses on 'Low-level' optimization, using profiling tools to find exactly where resources are wasted.
Instructions
- Run CPU profilers (Flame graphs) to find 'Hot' code paths.
- Use Heap snapshots to detect memory leaks and GC pressure.
- Analyze Disk I/O and Network blocking calls.
- Optimize hot-path algorithms for better time/space complexity.
- Compare performance benchmarks before and after optimizations.
Examples
- "Find a memory leak in a Node.js process that crashes every 24 hours."
- "Optimize a Python script that uses 100% CPU on a single core."