On Sat, Nov 29, 2025 at 04:20:55PM +0100, Jean-Marc Lasgouttes wrote: > 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).
Good to know. > >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. Ah that's helpful. I'll add that flag. > The other question is: why does one more call to updateBuffer create such a > problem? Many other actions trigger it. Ah interesting. My naive guesses: either updateBuffer() is accidentally called multiple times or it is called with different parameters. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
