On Wed, Sep 26, 2007 at 06:04:14PM +0200, Jean-Marc Lasgouttes wrote:
> Pavel Sanda <[EMAIL PROTECTED]> writes:
> 
> >> gprof won't say anything about the time spent in qt, X11 and libc. It
> >> is pretty useless for UI-related profiles. 
> >
> > i dont understand this. gprof doesnt tell you e.g. that we are spending 90%
> > time in whole-screen-repainting funtion in our code ? 
> 
> It does not count the time spent in the functions outside of LyX's own
> code, because code has to be instrumented (compiled with -pg) to be
> taken into account.
> 
> JMarc

Would it be an idea to first try LyX's own -dbg painting, to see how
repainting is being done? Especially in problem cases LyX may be simply
doing too much.

- Martin

Reply via email to