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

Category: Web App Development

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

Measure time to first byte for a request

Prints the time until the server starts sending the response body, a proxy for perceived latency. The -o /dev/null flag discards the body and -s hides progress output. Compare this against %{time_total} to see how long the download itself took.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.