如何从 curl 请求中获取响应时间(通过命令行)
How to get response time from curl request (via command-line)
如何捕获 CURL 请求的响应时间?
curl https://www.google.com
我在 an article 中发现了这种方法 returns 以秒为单位的值
curl -o /dev/null -s -w %{time_total}\n https://www.google.com
它输出如下内容:
0.059
如何捕获 CURL 请求的响应时间?
curl https://www.google.com
我在 an article 中发现了这种方法 returns 以秒为单位的值
curl -o /dev/null -s -w %{time_total}\n https://www.google.com
它输出如下内容:
0.059