worker-benchmarks
Run comprehensive worker system benchmarks and performance analysis
By ruvnet · 1,127 installs
npx skills add ruvnet/ruflo --skill worker-benchmarks
Source repository · Upstream listing
Worker Benchmarks Skill
Run comprehensive performance benchmarks for the agentic flow worker system.
Quick Start
Benchmark Types
1. Trigger Detection ( trigger detection )
Tests keyword detection speed across 12 worker triggers.
Target : p95 < 5ms
Iterations : 1000
Metrics : latency, throughput, histogram
2. Worker Registry ( registry )
Tests CRUD operations on worker entries.
Target : p95 < 10ms
Iterations : 500 creates, gets, updates
Metrics : per operation latency breakdown
3. Agent Selection ( agent selection )
Tests performance based agent selection.
Target : p95 < 1ms
Iterations : 1000
Metrics : selection confidence, agent scores
4. Model Cache ( cache )
Tests model caching performance.
Target : p95 < 0.5ms
Metrics : hit rate, cache size, eviction stats
5. Concurrent Workers ( concurrent )
Tests parallel worker creation and updates.
Target : < 1000ms for 10 workers
Metrics : per worker latency, memory usage
6. Memory Key Generation ( memory keys )
Tests memory pattern key generation.
Target : p95 < 0.1ms
Iterations : 5000
Metrics : unique patterns, throughput
Output Format
Integration with Settings
Benchmark thresholds are configured in .claude/settings.json :
Programmatic Usage
Performance Optimization Tips
1. Model Cache : Enable with CLAUDE FLOW MODEL CACHE MB=512
2. Parallel Workers : Enable with CLAUDE FLOW WORKER PARALLEL=true
3. Warning Suppression : Enable with CLAUDE FLOW SUPPRESS WARNINGS=true
4. SQLite WAL Mode : Automatic for better concurrent performance