简体   繁体   English

测量网页加载和iframe加载

[英]Measure page load and iframe load

Basically I have a webpage and inside it I have an iframe to load another webpage from a different domain. 基本上,我有一个网页,并且在其中有一个iframe可以从其他域加载另一个网页。 It moves slow and I want to prove that the entire page is slow just because of the page inside the iframe. 它运行缓慢,我想证明整个页面都很慢,因为iframe中的页面。

Is there any way to measure what is the overall page load and how much % from that total comes from the iframe ? 有什么方法可以衡量什么是整体页面加载以及iframe占页面总加载量的多少? What tools I can use to obtain some measurements? 我可以使用哪些工具进行一些测量?

You can measure in the Chrome browser 您可以在Chrome浏览器中进行测量
go to [Inspect Element -> Performance] and also [Inspect Element -> Network] and reload page to get full details 转到[检查元素->性能]以及[检查元素->网络]并重新加载页面以获取完整的详细信息

It would have helped if you would have posted your website here. 如果您将您的网站发布在这里,那将会有所帮助。 However, you could try running a PageSpeed insights test here using Google's PageSpeed Insights tool - https://developers.google.com/speed/pagespeed/insights/ 但是,您可以尝试在此处使用Google的PageSpeed Insights工具运行PageSpeed见解测试-https: //developers.google.com/speed/pagespeed/insights/

You could also use the Chrome browser extension called Lighthouse: 您还可以使用Chrome浏览器扩展程序,称为Lighthouse:

https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk

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

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