简体   繁体   English

如何从 har 文件计算 dom 和 http 负载

[英]How to compute the dom and http load from a har file

I wondering how to compute DOM and HTTP load from a HAR file.我想知道如何从 HAR 文件计算 DOM 和 HTTP 加载。

I'm a bit confuse with my HAR file results.我对我的 HAR 文件结果有点困惑。 The values found in the pagetiming is different from what is shown if I open the file in HTTPWatch Studio如果我在 HTTPWatch Studio 中打开文件,在页面计时中找到的值与显示的值不同

Pagetimings:分页次数: 在此处输入图像描述

在此处输入图像描述

The HTTP Load time in HttpWatch is the total elapsed time from when the page started loading until the completion of the last HTTP/HTTPS request. HttpWatch 中的 HTTP 加载时间是从页面开始加载到最后一个 HTTP/HTTPS 请求完成所经过的总时间。 It's not a standard timing value in the HAR file specification and is calculated by looking at each request for a given page.它不是 HAR 文件规范中的标准时间值,它是通过查看给定页面的每个请求来计算的。

The -1 values (eg for onLoad in your HAR file) indicate that that there was no timing value for that event. -1 值(例如 HAR 文件中的 onLoad 值)表明该事件没有计时值。

The onContentLoad event in the HAR file is the same as the DOM Load event shown in HttpWatch. HAR 文件中的 onContentLoad 事件与 HttpWatch 中显示的 DOM Load 事件相同。

More information about the page event timings in HttpWatch is available here:有关 HttpWatch 中的页面事件计时的更多信息,请参见此处:

https://help.httpwatch.com/time_chart.html https://help.httpwatch.com/time_chart.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM