Re: Attacking round trips



On Sat, 2003-07-05 at 01:23, Owen Taylor wrote:

> I spent most of today finishing up some work I had done to cut
> down on GTK+ roundtrips, especially on startup. The changes,
> test case, and a detailed analysis of the remaining roundtrips
> are attached.

Good stuff. Some other roundtrips I have noticed:

	- gdk_get_pointer()

There are 67 calls to gdk_get_pointer() in gtk+. Would it be worthwhile
to turn off the hint mask and doing motion compression instead?

	- gdk_flush() in gtkplug.c and gtksocket.c

I saw those on a profile of the gnome panel start menu popup using the
wall time profiler in memprof. It looks like the grabnotify is
propagated to each applet requiring a roundtrip for each. I'm not sure
if or how they can be fixed.


Soeren



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