Quoting Helge Hafting <[EMAIL PROTECTED]>:

> Abdelrazak Younes wrote:
>
> > On Windows, the cpu work a bit more with qt4 but not a lot, maybe 30%
> > more. I think there's still something wrong in the way I use QPixmap
> > and I guess this is the root of the problem for XWindow. Could you do
> > some profiling?
>
> How exactly do I do this profiling?
>
> I have no problem compiling qt4 and qt3 versions of lyx, or add
> all sorts of compiler options.  But I have no clue about profiling,
> is there a recipe somewhere?

I am not in linux but I'll try to answer anyway:

There is a --enable-profiling option to configure. I believe this will add a
'-p' option to g++ or something. You will also need to --enable-debug but
--disable-stdlib-debug. Then running "gprof lyx" will generate a file with
profiling results.

Do I get it right gentlemen?

Abdel.


>
> Helge Hafting
>


Reply via email to