>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> It looks like we're all seeing the same thing. Time to do some
Angus> profiling I guess. If someone gives me a prescription of what I
Angus> need to do to recompile lyx ready for profiling and how to use
Angus> gprof, I'll volunteer.

We have a --enable-profiling option nowadays. Note that it is not
enough in itself. You should add 
  --disable-assertions --disable-stdlib-debug -enable-optimization=-O2

The big problem with gprof is that I never manage to get it to count
the time spent in the Qt library. That makes its timings pretty
useless in the case we are interesting in. 

It is supposedly possible to use oprofile to get a nice system-wide
profile, and call-graph can be obtained with a really recent kernel
(2.6.12?). This would be the best solution, I guess.

JMarc

Reply via email to