【发布时间】:2015-08-01 01:27:57
【问题描述】:
如何捕获 CURL 请求的响应时间?
curl https://www.google.com
【问题讨论】:
标签: performance curl time request
如何捕获 CURL 请求的响应时间?
curl https://www.google.com
【问题讨论】:
标签: performance curl time request
我在an article 中找到了这种方法,它以秒为单位返回一个值
curl -o /dev/null -s -w %{time_total}\\n https://www.google.com
它输出如下内容:
0.059
【讨论】: