Frame rates of the UI
Been playing with a quite powerfull device the last few days and since it has dev mode on i turned the frame rate viewer on to see whats going on. I noticed that when you transition from one "page" to another (ie. in settings>click display) there is a red spike in the graphics of the frame viewer.
Also scrolling around vigorously incerases the CPU usage quite a bit. (lipstick usage)
Is this considered normal behavior, something is wrong or just someone need to spend time optimizing the UI.
There may be an error in the gpu driver. Severe stuttering in many spaces, such as piepmatz
xbt123ufo ( 2019-12-17 01:44:36 +0200 )editNote that unless you prepare pages beforehand, new pages are parsed an instantiated in the main GUI thread when you put them on the page stack.
So if you go to another page and it is complex, it can stall the GUI thread until it is parsed and instantiated, possibly explaining the spike.
To void this, you should either use simpler pages that load the rest asynchronously or pre-load pages dynamicaly (or at least at startup) and push instantiated page instances to the page stack.
MartinK ( 2019-12-17 04:51:55 +0200 )edit@MartinK ok for the page switching case. But the thing is that i see red spikes while scrolling up and down (fast) in the settings.
There seems to be something off. And what i test with is a fast phone.
ApB ( 2019-12-17 16:03:00 +0200 )edit