How to get response time from a curl request (via the command line)

How can I capture the response time from a CURL request?

curl https://www.google.com 
+6
source share
1 answer

I found this approach in an article that returns a value in seconds

 curl -o /dev/null -s -w %{time_total}\\n https://www.google.com 

It outputs something like:

 0.059 
+12
source

Source: https://habr.com/ru/post/987537/


All Articles