[Xcb] profiling and performance

Donnie Berkholz spyderous at gentoo.org
Tue May 2 22:59:59 PDT 2006


Vincent Torri wrote:
> there are other xcb functions that take more time :
> 
> write_block
> _xcb_in_read
> read_packet
> etc...

1038      0.1930  libXCB.so.0.0.0          write_block
574       0.1067  libXCB.so.0.0.0          _xcb_in_read
571       0.1062  libXCB.so.0.0.0          read_packet
514       0.0956  libXCB.so.0.0.0          get_event

The top time-taker in xcb is 0.2% of the time spent in your app. Do you
honestly think that's worth optimizing? You might get down to 0.15% or
0.1%, but chances are the real-world difference will be practically
nonexistent.

Thanks,
Donnie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20060502/82bd3478/signature.pgp


More information about the Xcb mailing list