How to get response time with curl

September 23, 2016 1 Min

curl is a powerful tool help us send request to a website, for example:

1
$ curl https://blog.0x427567.com/

Today, I will tech you guys how to get response time with curl, first we need add -w or –write-out option and we need to know total time, full command likes below:

1
$ curl -w %{time_total} https://blog.0x427567.com/