我从 Chrome 开发工具和 Google Page Speed Insights 页面运行 Google Page Speed Insights(移动)得到了不同的结果。 当我从 Chrome 开发工具运行 Audits Performance (mobile, 3G) 时,我得到比“官方页面”更高的分数。 从 Chrome 开发工具运行它说我已经实现了一些优化,但是从 Google Page Speed Insights 页面运行测试它表明优化。 我尝试过在不同的时间进行测试,但 Google Page Speed Insights 的得分总是低于 Chrome 开发工具。

我已经通过延迟加载实现了一些优化,例如“延迟不在 View 中的图像”,我已经延迟了 css 加载,但只有 Chrome 开发工具中的 Page Speed 可以识别此优化。

有人可以帮我解决这个问题吗?

请您参考如下方法:

我一直遇到同样的问题,我想这里的回复在 this guide 中在以下常见问题解答中:

Why do the field data and lab data contradict each other? The Field data says the URL is slow, but the Lab data says the URL is fast!

The field data is a historical report about how a particular URL has performed, and represents anonymized performance data from users in the real-world on a variety of devices and network conditions. The lab data is based on a simulated load of a page on a single device and fixed set of network conditions. As a result, the values may differ.


评论关闭
IT序号网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!