Le 29 novembre 2025 15:31:08 GMT+01:00, Scott Kostyshak <[email protected]> a 
écrit :
>
>Attached is a screenshot of hotspot's flamegraph.

Unsuprisingly, collectBibkeys stands out because it uses forwardInset (which is 
a deadly sin in such code). 
>

>That said, this is on my "debug build" because I needed the debug info
>for hotspot.
>
>I tried to make an optimised build (but still using -g to get profiling
>info), but it didn't seem to work well. updateBuffer() did not show up
>in the flamegraph.

With autoconf, there is a profiler build. One important effect is that it uses 
-fno-omit-frame-pointer, which is required for piecing code together.


The other question is: why does one more call to updateBuffer create such a 
problem? Many other actions trigger it.

JMarc

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to