简体   繁体   English

页面速度洞察与 chrome 灯塔的不同网站性能得分?

[英]Different website performance score in pagespeed insight vs chrome lighthouse?

While checking my performance of the website on https://developers.google.com/speed/pagespeed/insights/ and on chrome lighthouse extension it is giving me different score.https://developers.google.com/speed/pagespeed/insights/和 chrome lighthouse 扩展上检查我的网站性能时,它给了我不同的分数。 Could anyone help me out why there is such differences as both are google's product?.谁能帮我弄清楚为什么两者都是谷歌的产品会有如此大的差异?

PS: score difference is like : pagespeed = 28 and on lighthouse = 78 PS:分数差异就像:pagespeed = 28 和 on lighthouse = 78

In my experience, Lighthouse provides you much more custom controls which affect the performance score in a big way.根据我的经验,Lighthouse 为您提供了更多自定义控件,这些控件在很大程度上影响了性能得分。 As an example, we had a score of 73-75 on Pagespeed insights (ran it on https://www.flexiple.com ) while observed a score of 18 on Lighthouse.例如,我们在 Pagespeed 洞察(在https://www.flexiple.com上运行)的得分为 73-75,而在 Lighthouse 上的观察得分为 18。 Later, realised we had enabled throttling with 3G.后来,意识到我们启用了 3G 节流。 The moment we checked "No Throttling", the score moved back to 76.我们检查“无节流”的那一刻,分数又回到了 76。

Only way to pinpoint the discrepancy is to understand the exact context and see what might have affected the score.查明差异的唯一方法是了解确切的上下文并查看可能影响分数的因素。

it is because lighthouse connects to website from client device (laptops/mobile) but pagespeed connects from servers(mostly in USA) which could be location far away from hosting server.这是因为灯塔从客户端设备(笔记本电脑/移动设备)连接到网站,但页面速度从服务器(主要在美国)连接,服务器的位置可能远离托管服务器。 This will affect the time to download the content and hence the score.这将影响下载内容的时间,从而影响分数。

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

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