python-performance-optimization
Comprehensive guide and tools for profiling, analyzing, and optimizing Python code performance and memory usage.
Install
npx skills add https://github.com/wshobson/agents --skill python-performance-optimizationStats
| Total installs | 12,909 |
| Weekly installs | 12.8K |
| GitHub stars | 32.4K |
| First seen | Jan 20, 2026 |
| Source | @wshobson/agents |
Summary
- Covers CPU profiling with cProfile, line-by-line profiling with line_profiler, memory tracking with memory_profiler, and production profiling with py-spy
- Includes 20+ optimization patterns: list comprehensions, generators, string concatenation, dictionary lookups, NumPy vectorization, caching, multiprocessing, and async I/O
- Provides database optimization techniques including batch operations, query planning, and indexing strategies
- Features memory leak detection with tracemalloc, weak references for caches, and benchmarking tools including custom decorators and pytest-benchmark integration
Tags
Related skills
| Skill | Installs | vs python-performance-optimization |
|---|---|---|
| log-analysis | 10,644 | -2,265 |
| supabase-postgres-best-practices | 54,199 | +41,290 |
| overdrive | 15,288 | +2,379 |
| prompt-repetition | 10,488 | -2,421 |
| swiftui-expert-skill | 12,282 | -627 |
FAQ
- How many installs does python-performance-optimization have?
- python-performance-optimization has 12,909 total installs and 12.8K installs this week.
- Where is python-performance-optimization hosted?
- python-performance-optimization is published by @wshobson/agents at https://github.com/wshobson/agents.
- How many GitHub stars does python-performance-optimization have?
- python-performance-optimization has 32.4K GitHub stars.
- When was python-performance-optimization first indexed?
- OrangeBot.AI first indexed python-performance-optimization on Jan 20, 2026.
- How do I install python-performance-optimization?
- Run: npx skills add https://github.com/wshobson/agents --skill python-performance-optimization