Patches
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Wed Nov 11 18:19:34 UTC 2020
Le 11/11/2020 à 19:06, Richard Kimberly Heck a écrit :
> On 11/11/20 7:00 AM, Yuriy Skalko wrote:
>>> My profiling results are in attached SVG. I've done scrolling
>>> through some of the manuals during profiled run.
>>>
>>> What profiler did you use?
>>>
>>> I tried to look again at the code, but could not find the code that I
>>> believed to create a nested loop and thus quadratic behavior.
>>
>> It was gprof. Seems like now the most time spent in recursive calls to
>> itself.
>
> That's probably what JMarc say before, too.
Concerning gprof: please note that it does not take into account the
code that is not instrumented, like Qt, the kernel and maybe parts of
the c++ standard library.
I tend to use perf on linux instead (especially through hotspot, with
its awesome flamegraph feature).
Often I only use my crude pmprof.h (in src/support) to instrument some
methods by hand.
JMarc
More information about the lyx-devel
mailing list