>>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> On Dec 7, 2005, at 5:04 AM, Jean-Marc Lasgouttes wrote:
>> I really do not know how we could do proper profiling on the mac.
>> Our previous attempts were not really successful...

Bennett> I was using Shark.app, and just blundering along. If there's
Bennett> another tool others are more familiar with, perhaps that
Bennett> would provide more useful information. Let me know.

It would be gprof, but I do not know what we can get from it.

>> An idea: when building qt/mac, is it possible to enable profiling?
>> This would help a lot for further experimentation.

Bennett> Yes; I'm building now.

Bennett> After configuring lyx for profiling, do I need to do "make
Bennett> clean" before building again?

Yes, it is better. Note that you should also (in addition to
--enable-profiling) pass:
--disable-assertions --disable-stdlib-debug --enable-optimization=-O2
(or -Os) to LyX' configure.

Then you have a lyx binary that will be slow, but will generate
information that can be read by gprof:
gprof ./lyx >profile.txt

BTW, when you compile a normal LyX, do you use --disable-stdlib-debug?
I makes a big difference speed-wise.

JMarc

Reply via email to