Re: GTK+-2.x planning [ performance ]



Jody Goldberg <jody gnome org> writes:

> On Thu, Mar 14, 2002 at 03:20:29PM -0500, Owen Taylor wrote:
> > , and it's not clear if the obvious
> > GDK fixes would really make that much of a difference...
> 
> There is a substantial performance drop in gtk-2.0 when
> sensitizing/desensitizing toolbar items.  Using a remote display
> is significantly more painful on slow links.  Improvements would
> definitely be noticable.

This could really be a million things... but if it is noticeably
slower, it probably is just one thing, and it's probably something
pretty stupid... drawing in GTK+-1.2 was fast enough that making
it slower generally shouldn't be noticeable unless it gets 
a _lot_ slower.

 * Writing a test case that continually sensitized / densitized
   toolbar items and see where it spends it's time would be 
   really useful (though this may not be realistic if it never actually 
   gets to drawing.)
   
 * Is this with RENDER or not? The alpha compositing code without
   RENDER code is (IMHO) really good, but still involves round trips
   which can hurt remote performance.

 * If your toolbar icons are pixmaps, not pixbufs, you will have
   a big performance loss in the insensitive-rendering code
   becuase it fetches the pixmap data to insensitize it on 
   every expose.

Regards,
                                        Owen




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