Block reading of X properties
Lubos Lunak
l.lunak at suse.cz
Fri Aug 25 16:29:07 CEST 2006
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.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12 tel: +420 284 028 972
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http//www.suse.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdecore.patch
Type: text/x-diff
Size: 41066 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-optimize/attachments/20060825/aec8ab3a/attachment-0001.bin
More information about the Kde-optimize
mailing list