Humanity theme slower than Gnome Adwaita
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Humanity |
New
|
Undecided
|
Unassigned |
Bug Description
While investigating why gnome apps are much slower when using the Humanity theme compared to Adwaita on Quantal (with Gnome 3.5.90), I noticed that the apps are re-loading the Humanity theme files over and over again, dozen times per second, when hovering icons. It's most noticeable with evolution, rhythmbox, gedit, just to name a few.
Try it yourself using strace, like strace -p $(pidof app) -f -tt -e open
and hover the icons (like in toolbars, or folder trees..)
The reason for those zillions read() is that Humanity is providing almost exclusively SVG files, but gtk-update-
To verify this theory, i converted the theme to png with the attached debdiff (*not* to be sponsored), and now strace no longer shows those unexpected read(), and my whole desktop feels faster.
The resulting deb is of course bigger (9.1MB compared to 2.9MB)
This automatic conversion is not perfect though, some icons seems mismatched (like places/16/folder.* used in the folder pane in evolution, which is not the same size when it's focused (the grey folder icon)) but i did it to have an idea of the speed improvement, if any, which in my case proved real and very noticeable.
The real fix would probably be to teach gtk-update-
(1) Some details there: https:/
(which also shows private icons need to be cached by their app)