How mikkelam/fast-cli works
fast-cli is a command-line internet speed tester that measures connection performance through the fast.com v2 API and can report download speed, latency, and optionally upload speed in human-readable or JSON form. Its documented stopping policy ramps workers, then measures at a steady worker count until results stabilize or the duration limit is reached. The source excerpts were unavailable, so module-level calls and data transfers cannot be verified; the graph shows only README-supported relationships.
Main entry points: http_speed_tester_v2.zig Speed Test · main.zig CLI Entry · measurement_strategy.zig Stability Strategy
Components 14
Command Line
- CLI Entry
src/main.zig - CLI Arguments
src/cli/args.zig - CLI Root
src/cli/root.zig
Speed Measurement
- Speed Test
src/lib/http_speed_tester_v2.zig - Latency Test
src/lib/http_latency_tester.zig - Stability Strategy
src/lib/measurement_strategy.zig - Worker Manager
src/lib/workers/worker_manager.zig - Speed Worker
src/lib/workers/speed_worker.zig - Bandwidth
src/lib/bandwidth.zig - Fast Helper
src/lib/fast.zig
Results
- Progress Display
src/lib/progress.zig - Terminal Output
src/lib/terminal.zig
Other components
- User
- fast.com API
Connections 4
- User → CLI Entry: runs
README.md - CLI Entry → Speed Test: tests speed
README.md - Speed Test → fast.com API: uses API
README.md - Stability Strategy → Speed Test: stops when stable
README.md