time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
save this content under e.g. curl-format.txt
Run curl -w "@curl-format.txt" -o /dev/null -s https://google.com
Example result:
time_namelookup: 0.004771
time_connect: 0.022359
time_appconnect: 0.065459
time_pretransfer: 0.065580
time_redirect: 0.000000
time_starttransfer: 0.197701
----------
time_total: 0.216065