HTTP耗时 = TCP握手 HTTPs耗时 = TCP握手 + SSL握手 测量TCP握手和SSL握手的具体耗时 $ curl -w "TCP handshake: %{time_connect}, SSL handshake: %{time_appconnect}\n" -so /dev/null https://www.baidu.com