SKILL35.9K installs41.8K

Python Performance Optimization

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.

Type
Skill
Author
wshobson
Category
Backend
GitHub stars
41.8K
Installs
35.9K
Last updated
November 2, 2026

Install

npx skills add https://github.com/wshobson/agents --skill python-performance-optimization

Use cases


Frequently Asked Questions

Does this skill guess at optimizations or measure first?

It starts from measurement, using cProfile and memory profilers to locate bottlenecks before any code changes are made.

What kinds of Python problems is it meant for?

Debugging slow Python code, finding bottlenecks, and improving application performance.

Can it help with memory issues, not just speed?

Yes, memory profilers are part of the toolkit alongside cProfile.


About this skill

Profiles and optimizes Python code using cProfile, memory profilers, and established performance practices. It's for debugging slow code, finding bottlenecks, and improving application throughput. The workflow starts from measurement rather than guesswork.

Summary written with AI assistance from the project's public description.


Categories


More from wshobson


Similar Skills