worker-benchmarks

Runs performance benchmarks for worker trigger detection, registry, caching, and concurrency.

11|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/ishandutta2007/claude-agent-orchestration --skill worker-benchmarks-ishandutta2007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worker-benchmarks
Source: https://github.com/ishandutta2007/claude-agent-orchestration/tree/main/.claude/skills/worker-benchmarks
Command: npx skills add https://github.com/ishandutta2007/claude-agent-orchestration --skill worker-benchmarks-ishandutta2007

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It measures the latency, throughput, and memory behavior of the agentic-flow worker system so regressions and slow operations can be detected against defined p95 targets. ## Core Features & Use Cases - Six Benchmark Suites: Covers trigger detection, worker registry CRUD, agent selection, model cache, concurrent workers, and memory key generation. - Configurable Thresholds: Performance targets are defined in .claude/settings.json and results report pass/fail per suite. - Programmatic API: Benchmarks can be invoked from TypeScript via workerBenchmarks and runBenchmarks functions. - Use Case: Before releasing a change to the worker registry, run the full suite to confirm p95 latency stays under 10ms and memory growth remains bounded. ## Quick Start Run the full worker benchmark suite with npx agentic-flow workers benchmark and review the summary report.

Frequently Asked Questions about worker-benchmarks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run worker performance benchmarks in agentic-flow?

Run npx agentic-flow workers benchmark for the full suite, or pass --type with a specific benchmark name such as trigger-detection, registry, agent-selection, cache, concurrent, or memory-keys.

What metrics do the worker benchmarks report?

Each benchmark reports operation count, average latency, p95 latency against its target, throughput in operations per second, and memory delta. A summary section aggregates pass/fail counts, total duration, and peak memory.

How do I configure benchmark performance thresholds?

Thresholds are set in .claude/settings.json under performance.benchmarkThresholds, with p95Ms values for triggerDetection, workerRegistry, agentSelection, and memoryKeyGeneration, plus totalMs for concurrentWorkers.

Can I run worker benchmarks programmatically from TypeScript?

Yes, import workerBenchmarks and runBenchmarks from agentic-flow/workers/worker-benchmarks. Call runBenchmarks for the full suite or individual methods like benchmarkTriggerDetection with an iteration count.

What are the performance targets for each worker benchmark?

Targets are p95 under 5ms for trigger detection, 10ms for registry operations, 1ms for agent selection, 0.5ms for model cache, 0.1ms for memory keys, and under 1000ms total for 10 concurrent workers.