WebKit tool to provide FPS information for CSS animations?

I'm currently trying to evaluate the performance of WebKit CSS animations across platforms. I could not find a way to create a WebKit assembly that would measure the rendering of frames per second during the animation. Does anyone know how to do this?

+1
source share
1 answer

I decided to ask the same question in the list of WebKit developers and got a decent answer. I will repeat it here.

Basically, CSS animations in WebKit can either be rendered using one of two ways. Software rendering path or hardware path. In the case of the program path, the rendering cycle is based on a timer and, as such, using a timer and counting how fast the timer can fire, will give an approximate FPS measurement. In the case of a hardware path, the hardware will determine the path, and there is currently no way to collect this information.

I will rephrase the answer that I have, but I think that is his impetus.

+4
source

Source: https://habr.com/ru/post/902207/


All Articles