概要
This skill provides comprehensive guidance for diagnosing and resolving performance issues in Python applications. It equips developers with patterns for CPU and memory profiling using industry-standard tools like cProfile and py-spy, alongside practical implementation strategies such as list comprehensions, generator expressions, and NumPy vectorization. Whether you are debugging a slow production process or optimizing a high-throughput data pipeline, this skill helps you implement high-performance algorithms and efficient resource management practices.