WHY gnomenu is sometimes slow browsing through the menu

Created by Helder Fraga on on 2009-10-19
Keywords:
gnomenu slow why
Last updated by:
Helder Fraga on on 2009-10-19

GnoMenu is an eye candy implementation of the gnome menu, that said GnoMenu is infact sometimes slow browsing through the menu due to the way it loads the icons.
The first time you open gnomenu it stores the icons pixbuf in cache so that the next time it will become faster, this allows the 2nd 3rd and so on times you open it to be very much faster then the first, and by doing so allowing that 80% of the times you use it to be at maximum speed. If the loading mechanism wasnt like this then 100% of the times you use it would be at medium speed.

Example with this loading mechanism: you start gnomenu for the first time, browse the menu -> accessories --> gedit (load all icons 1.02 seconds). the second time you start it browse the menu -> accessories --> gedit (load all icons 0.12 seconds).

Example without this loading mechanism: you start gnomenu for the first time, browse the menu -> accessories --> gedit (load all icons 0.52 seconds). the second time you start it browse the menu -> accessories --> gedit (load all icons 0.52 seconds).

Also changing icons will also reset the cache making the menu slow again.

This is the most logical way i found for this pixbuf conversion that takes its time (why do you think gtk 3.0 will not have that many menu icons???). However we, at gnomenu like icons :), so we will stick with them, making the best of what we have.

Yours truly. Helder Fraga aka Whise