python-performance-optimization - Profile and optimize Python application performance
Profiles Python code with CPU, memory, and line profilers, then applies performance optimization techniques to reduce bottlenecks and resource use.
Tags
Updated: 2026-10-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Profile CPU usage
- Measure memory consumption
- Analyze line performance
- Visualize call graphs
- Benchmark code paths
- Optimize algorithms and data structures
- Reduce redundant computation
- Optimize I/O operations
- Improve database query performance
- Apply parallelization techniques
Inputs
- Python source code
- Performance workloads
- Target process
- Performance requirements
Outputs
- Profiling reports
- Benchmark measurements
- Performance recommendations
- Optimized code
Requirements
- Python runtime
- Relevant profiling tools or packages
