
Benchmark Optimization Loop
This turns "make it faster" requests into disciplined benchmark loops with correctness gates and variant tracking. It won't let you optimize until you have a baseline metric, a way to verify correctness, and a search budget. The loop is simple: measure, hypothesize, test variants one at a time, reject anything that breaks or can't reproduce, promote the winner. The variant table format and promotion gates keep you honest about what actually improved and why. Use this when someone asks for 20x speedups or recursive optimization and you need to convert enthusiasm into a bounded, measurable process that won't break production or burn time chasing noise.
- skills.sh installs
- 826
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill benchmark-optimization-loop --agent claude-codeInstalls into .claude/skills of the current project.
Files
Benchmark Optimization Loop
Use this skill to convert "make it 20x faster" or "try 50 recursive optimizations" into a bounded measured loop that can actually improve a system.
Required Baseline
Do not optimize until these exist:
- the operation being optimized;
- the correctness gate that must stay green;
- the metric: wall time, p95 latency, rows/sec, cost/run, memory, error rate;
- the current baseline;
- the search budget: max variants, max time, max spend, max data impact.
If the user asks for an unrealistic target, keep the ambition but make the loop bounded and measurable.
Loop
- Measure the baseline.
- Identify bottlenecks from evidence.
- Generate variants that test one hypothesis each.
- Run variants with the same input shape.
- Reject variants that fail correctness, safety, or reproducibility.
- Promote the fastest safe variant.
- Codify the winning path in a script, command, test, config, or doc.
- Rerun the baseline and winner to confirm the delta.
Variant Table
Track variants like this:
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- First seen
- Jul 14, 2026
More from affaan-m/everything-claude-code
All 256- Latency Critical Systems818
- Parallel Execution Optimizer813
- Social Publisher806
- Data Throughput Accelerator805
- Prediction Market Risk Review801
- Recursive Decision Ledger801
- Prediction Market Oracle Research796
- Ito Basket Compare794
- Ito Data Atlas Agent794
- Ito Market Intelligence794
- Ito Trade Planner791
- Team Agent Orchestration539
- Dynamic Workflow Mode536
- Security Review11.5K
- Golang Patterns9.9K
- Backend Patterns8.7K
- Coding Standards8.7K
- Frontend Patterns8.6K
- Golang Testing8.4K
- Springboot Patterns7.7K
- Continuous Learning V27.5K
- Postgres Patterns7.1K
- Django Patterns7K
- Frontend Slides7K