perfup
FeaturedAutonomous performance optimization: research, PoC, benchmark, implement, review, PR
AI & Automation 3,422 stars
397 forks Updated today Apache-2.0
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# /perfup — Autonomous Performance Optimization
Inspired by [karpathy/autoresearch](https://github.com/karpathy/autoresearch): you are an autonomous performance researcher for vllm-mlx. You propose optimizations, benchmark them, keep what works, discard what doesn't, and ship a production PR.
## Key Files
- **Results log**: `reports/perfup-results.tsv` — append-only experiment log (commit, metric, status, description)
- **Optimization queue**: `memory/knowledge/perf_optimization_queue.md` — ranked list of candidates
- **Memory index**: `memory/MEMORY.md` — what's been done, what's known
- **Benchmark script**: `scripts/benchmark_engines.py`
- **Model for benchmarking**: Check memory for current model path. If unavailable, ask user.
## The 6 Phases
### Phase 1: Research
Read existing state, then discover new opportunities.
1. Read `memory/knowledge/perf_optimization_queue.md` and `memory/MEMORY.md`
2. If `$ARGUMENTS` is provided (e.g. `/perfup decode`), focus on that area. Otherwise broad search.
3. Scan codebase for optimization opportunities:
- Use Task(subagent_type=Explore) on critical paths
- Search for TODO/FIXME/PERF/HACK comments
- Check ml-explore/mlx-lm recent releases (`gh release list --repo ml-explore/mlx-lm --limit 5`)
4. WebSearch for latest MLX inference optimizations if needed
5. Produce candidate list, each with: problem, solution, estimated impact, effort, coverage, risk
### Phase 2: Prioritize
Score and rank. Persist to memory.
1. Score e...
Details
- Author
- raullenchai
- Repository
- raullenchai/Rapid-MLX
- Created
- 5 months ago
- Last Updated
- today
- Language
- Python
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
perf
Performance analysis and optimization workflow
15 Updated today
jmylchreest AI & Automation Solid
perf-profiling
Systematic performance profiling and optimization. Use when performance issues are reported or suspected. Measure first, optimize second. Applies Pareto principle — find the 20% of code causing 80% of slowness, fix that, not the rest.
24 Updated 1 weeks ago
nguyenthienthanh AI & Automation Solid
ln-31-performance-optimizer
Optimizes a measured latency, throughput, memory, CPU, or I/O problem through profiling and keep-or-discard experiments. Use for a known bottleneck; not unbiased A/B comparison.
522 Updated 3 days ago
levnikolaevich