Re: Removing xrdb for 10% startup win?



On Mon, 2005-08-29 at 15:14 +0200, Erwann Chenede wrote:
> Hi all,
> 
> Ross Burton wrote:
> 
> >On Mon, 2005-08-29 at 10:24 +0100, ghee teo wrote:
> >  
> >
> >>	Look like some cool stuffs you have done here!
> >>Just want to point out that John Rice is doing some performance analysis
> >>work on GNOME startup time also, see his blog:
> >>
> >>http://blogs.sun.com/roller/page/jmr/20050826
> >>    
> >>
> >
> >The good question here is why is xrdb being executed 11 times?
> >  
> >
> After a quick look at gnome-settings-xrdb.c
> It seems that the style_set_cb callback, which ultimately spawn the xrdb 
> command, is called multiple times.
> This happens because the style_set_cb callback is connected to the 
> GtkWidget signal "style-set"
> which receive multiple "style-set" signals (8 or 9) initially for the 
> same theme.

I think it's worth investigating at least briefly why you are getting
those multiple style-set messages. It could definitely cause some
other performance issues as well.

Regards,
						Owen

Attachment: signature.asc
Description: This is a digitally signed message part



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