Skip to content

Add an experimental full-screen speed test dashboard - #315

Draft
code-inflation wants to merge 2 commits into
masterfrom
prototype/speed-dashboard
Draft

code-inflation wants to merge 2 commits into
masterfrom
prototype/speed-dashboard

Conversation

@code-inflation

Copy link
Copy Markdown
Owner

The regular CLI shows progress for one payload size at a time, which makes it hard to see how download and upload speeds change during a run. The experimental --tui flag opens a full-screen dashboard that charts valid samples as they arrive. It shows the 90th percentile for each direction, unloaded latency and jitter, and sample distributions for each payload size.

The timeline shows the active payload and retry countdown. Dots mark batches that were skipped, so a completed run does not look like it still has work to do. Tab switches between the overview, sample distributions, and run events. The results stay on screen until you quit or rerun the test.

The dashboard uses the same measurement engine as the regular CLI. Without --tui, the regular progress display and CSV and JSON output are unchanged.

cargo run --locked -- --tui

Terminal preview

The recording uses the PR build and a local fixture with six samples per payload size through 10 MB. The fixture returns one HTTP 429, and the run completes after the retry.

Terminal recording of live throughput charts, a retry countdown, and the sample and event views.

A separate run with adaptive sizing enabled shows dots for the five batches the test skipped.

Completed dashboard with dots in the timeline and a count of five skipped payload batches.

@code-inflation code-inflation self-assigned this Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant