[cairo] Performance analysis of a Cairo application

Jeff Muizelaar jeff at infidigm.net
Sat Oct 20 07:43:11 PDT 2007


On Sat, Oct 20, 2007 at 11:20:29AM +0100, Bill Spitzak wrote:
> Can XSync() help by adding it to the end of the fast and slow functions? 
> It would then report all the time in XSync but the caller as reported by 
> gprof would show which function was calling it.

It would help prevent the time associated with Xserver from leaking past
the parts in the client that didn't cause it. However, it wouldn't have
any effect on the real problem that Ivan is seeing. Namely, that sleep
time is not being counted against the functions doing the sleeping.

-Jeff


More information about the cairo mailing list