What problem does it solve?
This Skill solves the performance gap between current v3 behavior and aggressive targets by providing a structured way to benchmark, optimize, and validate improvements across attention speed, search latency, memory usage, and system startup.
Core Features & Use Cases
- Flash Attention Validation: Measure and confirm 2.49x–7.47x speedups while tracking memory reduction for sequence lengths like 512–4096.
- Search Optimization via HNSW Indexing: Replace linear search with HNSW indexing to achieve 150x–12,500x improvements for vector/memory retrieval at scale (e.g., 1M+ entries).
- Memory & System Optimization with Regression Detection: Benchmark heap usage before and after optimizations, monitor continuous metrics, and flag regressions when performance drops beyond thresholds.
- Swarm/Agent Coordination Performance Gates: Evaluate multi-agent coordination efficiency (example: 15-agent coordination) to ensure parallel performance doesn’t degrade.
- Use Case: When upgrading a claude-flow v3 pipeline, use this Skill to run a full benchmark suite, verify each target gate, and produce a report that identifies regressions and concrete optimization paths.
Quick Start
Run the Task sequence that first establishes a performance baseline and then validates Flash Attention, search optimization, and memory reduction against the specified target ranges.