Re: Look at what the panel does now before discussing what it should do!!



On Mon, Jul 26, 1999 at 10:06:44AM -0400, Eric Kidd wrote:
> > 1) Caching: been in the panel for ages, The panel will only stat all files in
> > just the current directory to find out if eny of them changed, but does not
> > reread anything unless it's necessary, the memory requirements for the cache
> > are not very large since there is not that much we need to keep track of
> > (just the name and the .desktop file location)
> 
> I just clicked on the foot and waited three seconds before the menu
> appeared. Some of the submenus took close to a second. My machine is not
> *too* slow (233MHz, 128MB of RAM), and none of my other applications have
> started swapping.

try turning off the icons and see if that improves

> This only happens if I haven't used the panel for a while. The next time I
> open the panel (or a particular submenu), it appears instantly. Still, four
> seconds to look at my games menu the first time around is pretty painful.

yes that is pretty bad

> Where is all this time going? Have all the *.desktop files been flushed
> from my block cache? What information can I provide to help isolate the
> problem?

the .desktop information is never flushed, what is flushed are the menu
widgets, and with them the icons, without this, the panel can grow to
rediculous memory requirements. You can turn off the menu widget flushing
though. Unless the .desktop files actually change, nothing is reread. so we
there is absolutely no problem with that, nor the stat times, we need some
way to cache the icons or something, if that is the bottleneck.

George



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]