【转载】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

posted @ 2017-09-19 23:32  姚果果  阅读(75)  评论(0编辑  收藏  举报