Skip to main content
subagent CX Codex

performance-benchmarker — Claude Code subagent

performance-benchmarker is a Claude Code subagent that measures throughput, latency, and resource use to compare Byzantine, Raft, and Gossip consensus protocols.

no license ★ 850 updated 2026-10-26

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/performance-benchmarker.md
Open on GitHub

What performance-benchmarker does

The subagent provides a complete benchmarking toolkit: generates protocol load, tracks transaction throughput and latency, monitors CPU, memory, and network usage. It stores results in a time-series database for historical tracking and produces comparative analysis across protocols. An adaptive optimizer adjusts load parameters in real time based on test success rates.

Useful when building and tuning distributed systems: the subagent automatically executes full benchmark cycles on hook triggers, measures latency percentiles (p95, p99), and analyzes fault tolerance. Results are timestamped so you can detect performance degradation or improvements after code changes.

What it helps with

  • measure throughput of consensus algorithms under varying load
  • compare latency across Byzantine, Raft, and Gossip protocols
  • track resource usage (CPU, memory, network) during distributed consensus
  • identify bottlenecks and optimize protocol parameters automatically
  • maintain a searchable history of benchmark runs

Example prompts for the agent

  • Run performance-benchmarker to compare Byzantine and Raft at 1000 transactions per second
  • Collect latency and throughput metrics for Gossip protocol while varying node count
  • Analyze Raft fault tolerance when one validator fails and compare against Byzantine

How to install performance-benchmarker

Manually: put the files in place

.claude/agents/performance-benchmarker.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about performance-benchmarker

How do I install performance-benchmarker in Claude Code?

Add the file .claude/agents/performance-benchmarker.md to your project root. Claude Code will automatically load the subagent and make it available for benchmarking tasks.

What does performance-benchmarker do?

It measures throughput, latency, and resource consumption for distributed consensus protocols. Generates synthetic load, collects metrics, compares results across protocols, and recommends optimizations.

Which consensus protocols does it support?

Byzantine, Raft, and Gossip. The subagent lets you register new protocols by adding benchmark suites.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set76

The whole set →
refinement SPARC methodology subagent for iterative code refinement. Optimizes architecture, runs test suites, and learns from refactoring history. CX Codex ★ 850repo stars workflow-automation workflow-automation is a Claude Code subagent that creates and updates GitHub Actions workflows. It handles CI/CD setup requests and workflow run analysis. CX Codex ★ 850repo stars Topology Optimizer Topology Optimizer — a subagent that scores swarm topologies — hierarchy, mesh, ring, star, hybrid — against your workload and says which one to switch to. CX Codex ★ 850repo stars crdt-synchronizer crdt-synchronizer — a Claude Code subagent for conflict-free state synchronization across nodes using CRDT structures and vector clocks. CX Codex ★ 850repo stars sublinear-goal-planner sublinear-goal-planner — a Claude subagent that breaks a big goal into actions with dependencies and looks for the cheapest route through the action graph. CX Codex ★ 850repo stars quorum-manager The quorum-manager subagent adjusts quorum settings, manages membership, and checks network conditions for distributed consensus workflows. CX Codex ★ 850repo stars mesh-coordinator mesh-coordinator — a coordinator subagent that links agents into a peer-to-peer mesh: decisions go through voting, peers find each other, and the network keeps going when a node drops. CX Codex ★ 850repo stars adaptive-coordinator adaptive-coordinator orchestrates agent swarms by switching network topology between mesh, hierarchical, and ring structures. Useful for heavy multi-agent workloads. CX Codex ★ 850repo stars

Project sponsors

Companies that keep this analytics open