On Oct 26, 2006, at 2:32 PM, Bennett Helm wrote:

On Oct 26, 2006, at 3:40 AM, Abdelrazak Younes wrote:

...

As you can see in the second line, QLPainter::text() take the most time. This is not surprising but the following lines between this node an the following node at the same level (LyXText::getFont()) don't make the sum. There's some info in between that is missing. Could you please (when you have time) have a look at it?

There's no info I have that you don't have. (Doesn't that mean that QLPainter::text() is eating up more than 10000 ms or so all on its own?)

To confirm this, I've run the profile again. I've put a screen shot of Shark's output here:

<http://edisk.fandm.edu/bennett.helm/LyX/lyx-mac-150- profile-2.jpg.zip>

(This one is even worse: QLPainter::text() eats up over 17 seconds out of the 30 second profile -- if I understand it correctly.)

One more bit of information that might be useful: Shark can show the amount of time specific lines of code use. Here is what it shows in the relevant bit of QLPainter.C:

<http://edisk.fandm.edu/bennett.helm/LyX/QLPainter.C-profile.jpg.zip>

Bennett

Reply via email to