[Xcb] [Bug 4232] xlsclients much too slow over network

Barton C Massey bart at cs.pdx.edu
Wed Sep 2 14:18:38 PDT 2009

In message <4A9E93F4.9090104 at opentext.com> you wrote:
>  - If I calculate it correctly, this version should operate in roughly
> (deepest_window_tree + 1) round trips. The previous version used roughly
> ((average_tree_depth * average_tree_width * 2 + number_of_atoms) *
> number_of_toplevel_windows) round trips. Where number_of_atoms is 2 by
> default (5 when the -l "verbose" switch is given), and "tree depth"
> excludes windows below any window with WM_STATE set.

Yow.  That should help.  I'll try to find time to try it
today across my DSL line.

>  - Most of those round-trips were spent in
> XmuClientWindow, and most of the rewrite was open-coding
> XmuClientWindow so it could be run in parallel.

I'd never looked at XmuClientWindow before.  Gug.

Again, thanks much.  I'll try to do some of your code review
stuff in the next few days unless someone else gets to it.

Do we have standard m4 templates around for autotooling XCB
progs?  If not, shouldn't we?


More information about the Xcb mailing list