Timing Request with cURL
We can use cURL to measure request time consumed during the whole process, such as DNS lookup, TCP handshake, SSL handshake time:
curl https://www.aldoraweb.com/ \
-s --connect-timeout 5 \
-o /dev/null \
-w "%{time_namelookup} %{time_connect} %{time_appconnect} %{time_pretransfer} %{time_starttransfer} %{time_total}" |
awk '