internal/

directory
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2026 License: MIT

Directories

Path Synopsis
Package cli wires the cobra command tree for mcpbench.
Package cli wires the cobra command tree for mcpbench.
Package compare diffs two mcpbench RunResults and applies regression thresholds for CI gating.
Package compare diffs two mcpbench RunResults and applies regression thresholds for CI gating.
Package errors classifies mcpbench error categories so the aggregator can keep a per-category count without scattering type switches throughout.
Package errors classifies mcpbench error categories so the aggregator can keep a per-category count without scattering type switches throughout.
Package jsonrpc defines minimal JSON-RPC 2.0 envelopes used by mcpbench and a lock-free monotonically increasing correlation-id allocator.
Package jsonrpc defines minimal JSON-RPC 2.0 envelopes used by mcpbench and a lock-free monotonically increasing correlation-id allocator.
Package metrics implements per-tool latency reservoirs, error counters, and aggregate summaries used by the reporter and compare subcommand.
Package metrics implements per-tool latency reservoirs, error counters, and aggregate summaries used by the reporter and compare subcommand.
Package orchestrator drives the load generation: it combines a Transport with a Scenario picker and feeds observations into a metrics.Aggregator.
Package orchestrator drives the load generation: it combines a Transport with a Scenario picker and feeds observations into a metrics.Aggregator.
Package report renders aggregate summaries into human, json, csv, and prometheus text-exposition formats.
Package report renders aggregate summaries into human, json, csv, and prometheus text-exposition formats.
Package scenario parses YAML scenario files and exposes weighted tool-call selection and argument templating for the orchestrator.
Package scenario parses YAML scenario files and exposes weighted tool-call selection and argument templating for the orchestrator.
Package transport defines the Transport interface used by the orchestrator and provides stdio and HTTP/SSE implementations.
Package transport defines the Transport interface used by the orchestrator and provides stdio and HTTP/SSE implementations.
testmock command
Command testmock is a tiny JSON-RPC stdio server used by transport tests.
Command testmock is a tiny JSON-RPC stdio server used by transport tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL