Smoother startup
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Sun May 30 13:34:14 CEST 2004
Olivier wrote:
> On Sun, 2004-05-30 at 00:43, Benedikt Meurer wrote:
>
>>Olivier wrote:
>>
>>>Hi,
>>>
>>>Talking about that, would it make sense to read the menu from a separate
>>>thread?
>>
>>Probably, but I'm not sure if this gives a noticable speedup.
>
>
> It would be non-blocking at least, with the current implementation, the
> panel and the desktop stay frozen during 30 to 40 seconds at startup
> (even on my P4 2.6GHz)...
For me, both the panel and xfdesktop are up in less than 5 seconds, but I
think its caused by the fact that the menu code looks into the wrong
directories searching for desktop files.
Anyways, I've discussed this earlier with Brian, and I think generating the
menu in the background is a good idea, but in addition, we should perform some
caching (based on the mtime's of the files or something like that) to speed up
further startups.
Benedikt
--
NetBSD Operating system: http://www.NetBSD.org/
pkgsrc "Work in progress": http://pkgsrc-wip.sf.net/
XFce desktop environment: http://www.xfce.org/
German Unix-AG Association: http://www.unix-ag.org/
os-network: http://www.os-network.de/
OpenPGP Key: http://www.home.unix-ag.org/bmeurer/#gpg
More information about the Xfce4-dev
mailing list