GNOME Shell's Icon Grid Could See Almost Double The Performance

Written by Michael Larabel in GNOME on 29 June 2020 at 06:28 AM EDT. 121 Comments
GNOME
On top of an optimization to lower render times and reduce power usage and fixing window culling as another performance optimization, Canonical's Daniel van Vugt also came across another serious optimization for GNOME Shell's icon grid performance.

Due to hundreds of primitives being recopied from the CPU to GPU each frame, the icon grid performance was being slowed down dramatically. Daniel van Vugt has proposed a change to keep labels now pre-rendered on the GPU rather than having all these unnecessary copies made each frame.

For his Intel graphics system with a 4K display, he found the spring animation went from 20~30 FPS to 30~40 FPS while the peak milliseconds per frame dropped from 45 to 28. Similarly, scrolling the shell's icon grid went from 15 to 30 FPS and the peak milliseconds per frame dropped from 50 ms to 28 ms.

This merge request has this optimization pending for GNOME Shell that will presumably land in the near future in helping GNOME 3.38 even faster.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week