curl -w '%{time_total}\n' -o /dev/null -s https://example.com

Category: Networking

curl -w '%{time_total}\n' -o /dev/null -s https://example.com

Measure total HTTP response time silently

-w formats output using variables like %{time_total}, %{time_connect}, %{time_starttransfer}. -o /dev/null discards the body, -s suppresses progress. Useful for quick latency benchmarking from the command line.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.