概要
The Python Performance Optimization skill provides a comprehensive framework for diagnosing and fixing performance issues in Python applications. It guides users through sophisticated profiling techniques—including CPU, memory, and line-level analysis—and offers proven implementation patterns for high-speed execution. Whether you are troubleshooting slow data pipelines, fixing memory leaks, or reducing API latency, this skill assists in implementing efficient data structures, NumPy vectorization, and advanced caching strategies to ensure your Python code runs at peak efficiency in both development and production environments.