Determine web service response time with curl command

We can check remote web service response time with curl command.

Example:

curl -s -w 'Testing Website Response Time for :%{url_effective}\n\nLookup Time:\t\t%{time_namelookup}\nConnect Time:\t\t%{time_connect}\n\nTotal Time:\t\t%{time_total}\n' -o /dev/null https://ada.openbld.net/dns-query

Result:

Testing Website Response Time for :https://ada.openbld.net/dns-query

Lookup Time:		0.007515
Connect Time:		0.124207

Total Time:		0.355057

Ref: