curl -o /dev/null -s -w '%{time_connect} %{time_starttransfer} %{time_total}' "http://baidu.com"web
time_connect:创建到服务器的tcp 链接所用的时间time_starttransfer :在发出请求后,web 服务器返回数据第一个字节所用的时间time :完成请求所用的时间服务器