python-performance-optimization
使用cProfile、内存分析器及性能最佳实践来剖析和优化Python代码。适用于调试Python代码运行缓慢、优化瓶颈或提升应用性能的场景。
name:python-performance-optimizationdescription:Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging slow Python code, optimizing bottlenecks, or improving application performance.
Python Performance Optimization
Comprehensive guide to profiling, analyzing, and optimizing Python code for better performance, including CPU profiling, memory optimization, and implementation best practices.
Use this skill when
Do not use this skill when
Instructions
resources/implementation-playbook.md.Resources
resources/implementation-playbook.md for detailed patterns and examples.