And if strnlen isn't available? ...

http://tinderbox.x.org/builds/2009-10-20-0042/logs/xlsclients/#build

On Oct 19, 2009, at 18:41, Jamey Sharp wrote:

configure.ac |    6
xlsclients.c | 524 ++++++++++++++++++++++++++++++++++++++++++++++ +------------
2 files changed, 430 insertions(+), 100 deletions(-)

New commits:
commit 1839eabbdd697039a264fe7ebb3f4d26f08ddabe
Author: Peter Harris <[email protected]>
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 <[email protected]>

_______________________________________________
xorg-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg-commit

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to