Skip to content

--load: tracking list of enhancements (progress, time series, warm-up, more gates, raw samples, histogram, open-loop) #2838

Closed

Description

@CloneOfAlex

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)

  1. Progress — a one-line stderr status every few seconds (completed, ok, errors, current rate, rolling p50/p99); off with --quiet.
  2. Time series — per-interval buckets (--load-interval 1) with completions, errors and p50/p99 per bucket.
  3. Warm-up — --load-warmup <sec> excluded from the statistics.
  4. More percentiles and gates — p95 and p99.9 in the summary; --load-max-p50, --load-max-p95, --load-min-throughput.
  5. Raw samples — allow --output with --load to write NDJSON per call (start offset, latency, outcome, message); today it is rejected.
  6. Bounded memory — every latency is kept in an array and copied to sort; an HDR-style histogram keeps memory constant for multi-hour runs.
  7. Readable text output — without --format json the summary is the same JSON; a short table would suit a terminal.
  8. 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.
  9. 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

  • I searched existing issues and this is not a duplicate.
  • This is a request for the Inspector itself, not for the MCP specification or an SDK.

Activity

  1. added
    enhancement
    v2
    on Oct 28, 2026
  2. cliffhall commented on Oct 29, 2026

    @cliffhall
    Member

    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).

  3. added this to the v2.15.0 milestone on Oct 29, 2026
  4. modified the milestones: v2.15.0, v2.16.0 on Nov 5, 2026
  5. cliffhall commented on Nov 5, 2026

    @cliffhall
    Member

    Item 9 ("further ideas") is out of scope for this issue and is filed as follow-ups in v2.16.0:

    Items 1–8 will land here.

  6. self-assigned this
    on Nov 5, 2026
  7. modified the milestones: v2.16.0, v2.15.0 on Nov 5, 2026
  8. cliffhall commented on Nov 5, 2026

    @cliffhall
    Member

    Shipped across #2915 (items 4, 6), #2916 (items 1–3) and #2917 (items 5, 7, 8; merge c6a9807). Item 9 is tracked in #2910–#2914.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions