什么原因导致Chrome时间轴帧有这么多空白空间 [英] What causes Chrome Timeline Frame to have so much empty white space

查看:216
本文介绍了什么原因导致Chrome时间轴帧有这么多空白空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时当我在谷歌浏览器中检查元素时,我发现我有一些大框架,但它们充满了空白区域。任何人都知道经常造成如此大量的空余空间?我已经看到了计时器在延长帧长度方面的问题,但在下面的例子中,我不确定为什么帧会这么大。



想要一些帮助最小化这些

p>

解决方案

这是有记录的此处,请参阅关于清除或浅灰色框架部分。这里描述的清晰帧在这里被描述为:

lockquote

显示刷新周期之间的空闲时间。


根据此视频 ,清除条表示浏览器正在等待CPU或GPU。在标准网站上工作时,开发人员无法解决此问题。


Sometimes when I Inspect Element in Google Chrome I find that I have some large frames, but they are filled with white space. Anyone know what often causes such large amounts of empty space? I have seen timers cause issues with extending the frames length but in the example below I am unsure why a frame would be so large.

Would love some help minimizing these

解决方案

This is documented here, see the 'About clear or light-gray frames' section. 'Clear frames' in question are described there as

Idle time between display refresh cycles.

According to this video, clear bar indicates browser waiting for a CPU or a GPU. There is nothing that developer can do to fix this when working on a 'standard' website.

这篇关于什么原因导致Chrome时间轴帧有这么多空白空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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