python-performance-optimization
Profile and optimize Python code using cProfile, memory profilers, and performance best practices. WHEN: Debugging slow Python code, profiling with cProfile/line_profiler, memory optimization, identifying bottlenecks, optimizing loops and data structures. WHEN NOT: Async optimization (use python-async-patterns), database query optimization (use sql-optimization-patterns), general debugging.
Installation and usage
Profile and optimize Python code using cProfile, memory profilers, and performance best practices. WHEN: Debugging slow Python code, profiling with cProfile/line_profiler, memory optimization, identifying bottlenecks, optimizing loops and data structures. WHEN NOT: Async optimization (use python-async-patterns), database query optimization (use sql-optimization-patterns), general debugging.
Once installed, you can use this skill by running the following command in your terminal:
skills use python-performance-optimization