Re: gnome-login-check "optimization" patch

On Fri, 2002-06-14 at 18:37, Havoc Pennington wrote:
> jacob berkman <jacob ximian com> writes:
> > using time(1), this patch brings gnome-login-check from over 4s to under
> > 1s on my solaris machine, and on my os x laptop from around 2s to
> > 0.2s.
> What was the optimization part of the patch?  (i.e. what was slow?) 
> (I'm just curious)

only linking against gtk+ and libgnome (and dependencies) and only
calling gnome_program_init() if Ctrl+Shift are held down at startup...
ie calling gtk_init() by default instead.

sadly it doesn't help any other apps but does help overall time.

 - jacob

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