gpt4 book ai didi

Chrome Performance: Long GPU Blocks in Timeline(Chrome性能:时间轴中的长GPU块)

转载 作者:bug小助手 更新时间:2023-10-24 17:54:26 25 4
gpt4 key购买 nike



I am developing a web application (JS/CSS/AngularJS) which is going to run on a touchscreen client.
As the application grows I run into a performance problem: I mentioned that the applicaion is not running with 60fps but 30 or something. Therefore I used the chrome built-in timeline tool to profile what's going on under the hood.
Okay - there are many long frames which limit the fps to ~30. The reason are the large GPU blocks (green) you can see in the screenshots).

我正在开发一个Web应用程序(JS/css/AngularJS),它将在触摸屏客户端上运行。随着应用程序的增长,我遇到了一个性能问题:我提到应用程序运行的速度不是60fps,而是30 fps左右。因此,我使用了Chrome内置的时间线工具来分析引擎盖下发生的事情。好的-有很多长帧将fps限制在~30。原因是屏幕截图中可以看到较大的GPU块(绿色)。



enter image description here



Zoomed in:

放大:



enter image description here
It seems that the GPU is taking much time to... render? calculate? ...?
Unfortunally I don't have any further information what the GPU does in this time. There are some CSS effects and transforms but nothing really spectacular.
It's running on a Intel HD Graphics 530 (onboard) but I think is should even perform with 60fps on this one.

似乎图形处理器花了很多时间来..。渲染?算算?...?不幸的是,我没有任何进一步的信息,GPU在这段时间做了什么。有一些CSS效果和变换,但没有什么真正壮观的。它运行在英特尔高清显卡530(板载)上,但我认为这款应该可以以60fps的速度运行。



I'd like to know if there is any way to get further information what is slowing down the GPU that much and/or if there are any common CSS tricks to speed up my page. Or is there anything I can tweak at the GPU itself?

我想知道是否有任何方法可以获得更多信息,是什么让GPU慢了这么多,以及/或者有没有什么常用的css技巧来加速我的页面。或者,有没有什么我可以在图形处理器上调整的?



Thanks!

谢谢!


更多回答
优秀答案推荐
更多回答

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com