测量Chrome中的总请求时间 - 错误的总时间

时间:2017-01-18 15:09:03

标签: google-chrome google-chrome-devtools

请求的总时间是否高于连接建立时间+请求/响应时间的原因是什么?

enter image description here

357.32ms> (19.04 + 0.56 + 8.56 + 23.46 + 0.41)ms

我错过了什么吗?

1 个答案:

答案 0 :(得分:0)

我有类似的问题。就我而言,我注意到了#34;差距"总是在" DNS查询"如下所示。某种程度上,Chrome无法衡量翻译所需的时间localhost into 127.0.0.1`

我通过在网址栏中将localhost替换为127.0.0.1来解决了这个问题。这消除了总加载时间的80%~90%

enter image description here