【转载】SSL延迟有多大
http://www.ruanyifeng.com/blog/2014/09/ssl-latency.html
curl -w "TCP handshake: %{time_connect}, SSL handshake: %{time_appconnect}\n" -so /dev/null https://www.baidu.com
这里注意是nginx无法识别的证书,需要使用如下命令,否则将无法获取SSL的时间
curl -ki -w "TCP handshake: %{time_connect}, SSL handshake: %{time_appconnect}\n" -so /dev/null https://www.baidu.com