网站响应时间:“负载”和“完成” , [英] Website response time :Difference between "load" and "finish" ,

查看:258
本文介绍了网站响应时间:“负载”和“完成” ,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须使用chrome devtools网络检查谷歌响应时间,为此目的,我加载了一个网页,并打开了网络标签以检查某些网站的响应时间,例如本网站。





I有两个时间量第一个是完成,第二个是负载,完成是我认为加载整个页面所需的时间与所有资源,包括延迟,这是什么负载?起初我想如果我把所有这些时间加在一起会加起来作为加载,但这不是真的,什么会被认为是本网站的响应时间,加载或完成?

$ b在Chrome开发工具包中的'完成'时间似乎包括页面上的异步加载(非阻塞)对象/元素,可能会继续下载



网站的响应时间一般来说意味着'加载'时间,因为用户更容易察觉,此时用户可以看到浏览器已完成工作并且页面已准备好在他们的屏幕上。完成时间,虽然从技术上讲响应时间也没有太多的最终用户的意思。



在某些情况下,完成计时器从不停止并继续增加,所以它可能不是网页响应时间的最佳评估。

I have to check google response time using chrome devtools network for that purpose I loaded a webpage and opened the network tab to check the response time of certain websites for example for this website

I there are two time quantities 1st one is the "finish" and the second one is "load" , finish is the i guess the time taken to load the whole page with all the resources including delays , what is this "load"? at first i thought if i add all these time together would add up as "load" but this isn't true , what would be considered the response time of this website, "load" or "finish"?

解决方案

It seems this 'Finished' time in Chrome devtools includes the asynchronously loading(non blocking) objects/elements on the page which may continue downloading way after the onload event for page has fired.

The response time for a website generally speaking means 'Load' time because that is more easily user perceivable, at this point user can see browser has finished working and page is ready on their screen. Finish time, although technically also a response time doesn't have as much end-user implication.

In some cases it seems the Finish timer never stops and continues increasing so it may not be the best assessment of web page response time.

这篇关于网站响应时间:“负载”和“完成” ,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆