xlsclients: Changes to 'master'
Jamey Sharp
jamey at kemper.freedesktop.org
Mon Oct 19 18:41:19 PDT 2009
configure.ac | 6
xlsclients.c | 524 +++++++++++++++++++++++++++++++++++++++++++++++------------
2 files changed, 430 insertions(+), 100 deletions(-)
New commits:
commit 1839eabbdd697039a264fe7ebb3f4d26f08ddabe
Author: Peter Harris <pharris at opentext.com>
Date: Mon Oct 19 18:21:26 2009 -0700
Rewrite xlsclients to use XCB, avoiding many (many) round trips
This version spends bandwidth to reduce latency; in particular, it
aggressively calls query_tree before the answer to get_property(WM_STATE) is
available.
Even on my local box, this version is 4-10 times faster (30ms typical, vs
200ms typical for Xlib). I get similar results over the local network.
At least one person reports this version takes less than 2 seconds over ssh,
vs over a minute for the Xlib version (~30x faster).
Reviewed-by: Jamey Sharp <jamey at minilop.net>
More information about the xorg-commit
mailing list