Not saying it’s the way, but I find it often handy for quick troubleshooting performance issues, either as is or scripted. #curl #sysadmin #devOps
curl -s -o /dev/null -w " \
DNS Lookup: %{time_namelookup}s\n \
TCP Connect: %{time_connect}s\n \
App/TLS Connect: %{time_appconnect}s\n \
Pre-transfer: %{time_pretransfer}s\n \
Start Transfer: %{time_starttransfer}s\n \
----------\n \
Total Time: %{time_total}s\n" <url>