List Info

Thread: Block reading of X properties




Block reading of X properties
user name
2006-08-25 14:29:07
 Hello,

 I'm considering adding this optimization to kdelibs but
first I'd need more 
testing for it, as it uses some kind of internal code of
Xlib and I have no 
idea how it compiles/works on other platforms. Are there
still people using 
KDE with some other X than X.org/XFree86? Could you please
try if kdelibs 
with this patch compiles and works?

 As for technical details, each XGetWindowProperty() call
for reading one X 
property means one X server roundtrip, i.e. sending request
to X server and 
waiting for an answer (and the context switches and possibly
transferring 
over network and so on). The patch allows grouping of such
requests resulting 
in only one roundtrip for the whole group. It doesn't
actually save as much 
as I originally expected, but I guess it could be still
worth adding it, at 
least for people running remote X (well, since I've already
written it 
anyway).

 Thanks

-- 
Lubos Lunak
KDE developer
------------------------------------------------------------
--
SUSE LINUX, s.r.o.   e-mail: l.lunaksuse.cz , l.lunakkde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz
_______________________________________________
Kde-optimize mailing list
Kde-optimizekde.org
ht
tps://mail.kde.org/mailman/listinfo/kde-optimize
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )