HTTP Timing Summary with cURL

This note was updated on 02 Jul, 2024 at 22:03.

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.