python-performance
SolidPython performance profiling and optimization: bottleneck detection, memory tuning, benchmarking
AI & Automation 308 stars
27 forks Updated today MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Python Performance Optimization
Profiling and optimization patterns for Python code.
## Table of Contents
1. [Quick Start](#quick-start)
## Quick Start
```python
# Basic timing
import timeit
time = timeit.timeit("sum(range(1000000))", number=100)
print(f"Average: {time/100:.6f}s")
```
**Verification:** Run the command with `--help` flag to verify availability.
## When To Use
- Identifying performance bottlenecks
- Reducing application latency
- Optimizing CPU-intensive operations
- Reducing memory consumption
- Profiling production applications
- Improving database query performance
## When NOT To Use
- Async concurrency - use python-async
instead
- CPU/GPU system monitoring - use conservation:cpu-gpu-performance
- Async concurrency - use python-async
instead
- CPU/GPU system monitoring - use conservation:cpu-gpu-performance
## Modules
This skill is organized into focused modules for progressive loading:
### [profiling-tools](modules/profiling-tools.md)
CPU profiling with cProfile, line profiling, memory profiling, and production profiling with py-spy. Essential for identifying where your code spends time and memory.
### [optimization-patterns](modules/optimization-patterns.md)
Ten proven optimization patterns including list comprehensions, generators, caching, string concatenation, data structures, NumPy, multiprocessing, and database operations.
### [memory-management](modules/memory-management.md)
Memory optimization techniques including leak tracking w...
Details
- Author
- athola
- Repository
- athola/claude-night-market
- Created
- 6 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
python-optimizer
Python code performance optimization specialist
38 Updated today
Vinix24 AI & Automation Solid
performance-profiler
Performance Profiler
17,886 Updated today
alirezarezvani AI & Automation Listed
performance-profiler
Performance Profiler
0 Updated today
nariatrip191