Acerca de
This skill provides expert guidance for diagnosing and resolving performance bottlenecks in Python code, ranging from memory leaks and high CPU usage to slow API response times. It enforces a disciplined 'measure-before-optimize' workflow using tools like cProfile and line profilers, offering specific implementation patterns for algorithmic complexity reduction, memory management via generators, and computational acceleration using NumPy, Numba, and multiprocessing. It is ideal for developers looking to reduce cloud infrastructure costs or scale data-heavy applications.