HTTP Timing Summary with cURL

This note was updated on 15 Apr, 2023 at 12:29.

This is based on Timing Details With cURL.

$ curl -o /dev/null -w "time_namelookup:    %{time_namelookup} s
time_connect:       %{time_connect} s
time_appconnect:    %{time_appconnect} s
time_pretransfer:   %{time_pretransfer} s
time_redirect:      %{time_redirect} s
time_starttransfer: %{time_starttransfer} s
time_total:         %{time_total} s
" -s [WEBSITE-URL]

See cURL’s documentation for all available variables.