$ curl "https://api.example.jp/controller/action" -o /dev/null -w \
"\
Connection start %{url_effective}
resolv name start...\n\
resolv name complete @%{time_namelookup} sec\n\
target server connection start...\n\
target server connection complete @%{time_connect} sec\n\
target server http request send start...\n\
target server http request send complete @%{time_pretransfer} sec\n\
targer server http content generate start...\n\
targer server http content generate complete. http content output start @%{time_starttransfer} sec\n\
http content receive start...\n\
http content receive complete. total time %{time_total} sec\n\
" \
2> /dev/null