--load: tracking list of enhancements (progress, time series, warm-up, more gates, raw samples, histogram, open-loop)
Which client?
All / shared core
The problem
--load reports one aggregate summary at the end of a run. Long runs are silent while they run, transient problems (a GC pause, a slow leak) vanish into one p99, warm-up skews short runs, only two thresholds exist, the per-call data cannot be exported, and memory grows with every call. These limit its use for longer and CI runs.
Solution you have in mind (optional)
- Progress — a one-line stderr status every few seconds (completed, ok, errors, current rate, rolling p50/p99); off with
--quiet. - Time series — per-interval buckets (
--load-interval 1) with completions, errors and p50/p99 per bucket. - Warm-up —
--load-warmup <sec>excluded from the statistics. - More percentiles and gates — p95 and p99.9 in the summary;
--load-max-p50,--load-max-p95,--load-min-throughput. - Raw samples — allow
--outputwith--loadto write NDJSON per call (start offset, latency, outcome, message); today it is rejected. - Bounded memory — every latency is kept in an array and copied to sort; an HDR-style histogram keeps memory constant for multi-hour runs.
- Readable text output — without
--format jsonthe summary is the same JSON; a short table would suit a terminal. - Open-loop mode —
--load-open-loop: start on the rate grid regardless of in-flight calls and measure latency from the scheduled start, exposing queueing the current design hides. - Further ideas — compare against a saved baseline (
--load-baseline prev.json, fail on regression %); a load panel in the web UI on the shared core engine; session-churn mode (connect, call, disconnect per worker); notification fan-out load (resources/subscribe); a multi-process generator (--load-workers) — a single process trailed a bare SDK client by ~18% throughput at concurrency 10–50 in my measurements.
Alternatives or workarounds you have tried
External tools (k6, custom scripts), which lose the Inspector's transport/auth/OAuth setup — the reason --load was added in #2439.
Already built it locally?
No response
Before you submit
- [x] I searched existing issues and this is not a duplicate.
- [x] This is a request for the Inspector itself, not for the MCP specification or an SDK.
Triage: Priority Low (total 4)
- Severity 2 — --load reporting improvements for long and CI runs; current summary works
- Urgency 2 — wanted eventually, nothing blocked on it
- Bonuses: none (no milestone, assignee, epic, engagement or reporter-set priority)
Board: #28, Status Incoming (awaiting maintainer review — no milestone yet).
Item 9 ("further ideas") is out of scope for this issue and is filed as follow-ups in v2.16.0:
- #2910 compare against a saved baseline (
--load-baseline) - #2911 web load-test panel on the shared engine
- #2912 session-churn mode
- #2913 notification fan-out load
- #2914 multi-process generator (
--load-workers)
Items 1–8 will land here.
Shipped across #2915 (items 4, 6), #2916 (items 1–3) and #2917 (items 5, 7, 8; merge c6a98075). Item 9 is tracked in #2910–#2914.