Skip to content
P

python-performance-optimization

Profile and optimize Python code

by wshobsonFree

Launch
#1807in AI Skills
0In stores

Description

python-performance-optimization is an agent skill from the wshobson/agents collection for profiling and optimizing Python code. Its rule is…

Highlights

  • cProfile for CPU profiling
  • line_profiler for line-by-line timing
  • memory_profiler for memory tracking
  • py-spy for production profiling
  • Measure before optimizing
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate python-performance-optimization.

People also visit

G

golang-performance

Golang performance optimization patterns and methodology

AI Skills
Launch
P

performance-optimization

Optimizes application performance across frontend, backend, queries

AI Skills
Launch
A

agent-performance-optimizer

Agent skill for performance-optimizer - invoke with $agent-performance-optimizer

AI Skills
Launch
A

argent-react-native-optimization

Optimizes a React Native app by profiling first to find real bottlenecks

AI Skills
Launch
B

benchmark-optimization-loop

Convert 'make it faster' requests into a bounded measured optimization loop

AI Skills
Launch
P

performance-analysis

Comprehensive performance analysis, bottleneck detection

AI Skills
Launch

python-performance-optimization FAQ

Which profilers are covered?

cProfile for CPU, line_profiler for line-by-line timing, memory_profiler for memory, and py-spy for production applications.

Can I profile a running production app?

The skill covers production profiling with py-spy, which samples a process without changing its code.

Does it cover databases and I/O?

Yes. Improving database query performance and optimizing I/O are among the topics.

Why measure first?

The skill's approach is to find the real bottleneck with a profile before changing code, so effort goes where it matters.

How do I install it?

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

What security audits does it have?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best python-performance-optimization alternatives?

Popular alternatives to python-performance-optimization include golang-performance, performance-optimization and agent-performance-optimizer. See all python-performance-optimization alternatives

Developer Stuff

Badges