|
A Speedtest section runs ~/bin/speedtest (Ookla's CLI) with
--format=jsonl. It streams one event per line, measured at 5 ping,
72 download and 104 upload events with `progress` (0..1) and a running
`bandwidth` in bytes/s, then one result. The page shows the phase's
progress bar, the live Mbit/s, and both curves on one scale, each
stretched to the full width; the graph stays with the result.
--accept-license and --accept-gdpr keep a first-run prompt from
blocking it.
The run and its state live in NetworkModule, which is always active,
so a test survives the drawer closing and its result is there on
reopen. An exit without a result reports "Speedtest failed (exit N)".
The page's titles move to SectionHeader, with Speedtest given one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|