Measure download, upload, and latency with zero dependencies.
All commands use scripts/speed_test.py.
bash
python3 scripts/speed_test.py --all
python3 scripts/speed_test.py --all --json
bash
python3 scripts/speed_test.py --download
python3 scripts/speed_test.py --upload
python3 scripts/speed_test.py --latency
bash
python3 scripts/speed_test.py --download --size 25 # 25 MB download test
python3 scripts/speed_test.py --all --size 50 # 50 MB download, 25 MB upload
bash
python3 scripts/speed_test.py --all --json
Returns structured JSON with timestamp, latency stats (avg/min/max/jitter per host), download speed (Mbps), and upload speed (Mbps).
Tests TCP connection latency to Cloudflare DNS (1.1.1.1), Google DNS (8.8.8.8), and Quad9 (9.9.9.9). Reports average, min, max, and jitter for each.