Guides developers through performance profiling, bottleneck identification, and code benchmarking using industry-standard tools and methodologies.
This skill provides a comprehensive framework for diagnosing and resolving application performance issues within the Claude Code environment. It equips the AI with specialized knowledge on CPU, memory, and I/O profiling—with a strong focus on Python ecosystems—while also covering universal concepts like flame graph interpretation and benchmarking best practices. By following a systematic 'measure-first' approach, this guide helps developers avoid premature optimization and focus on the most impactful bottlenecks in their codebases.
主要功能
01Visual guide for interpreting flame graphs and hierarchical profiler outputs
02Detailed implementation patterns for Python tools like cProfile, py-spy, and tracemalloc
03Best practices for microbenchmarking and high-scale load testing with tools like k6 and wrk
04Strategies for detecting N+1 queries and optimizing database interactions
050 GitHub stars
06Step-by-step methodology for identifying CPU, I/O, and memory-bound bottlenecks
使用场景
01Comparing the performance of different algorithmic implementations before deployment
02Diagnosing slow API endpoints and identifying specific functions causing latency
03Detecting and resolving memory leaks in long-running background processes