Am 25.11.2022 um 00:29 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:
> 
> Le 25/11/2022 à 00:18, Stephan Witt a écrit :
>> This is a profiler run with Apple Instruments - I built the LyX binary for 
>> profiling.
>> https://my.hidrive.com/share/6t6dr1c.4o
>> The experiment was to open the german tutorial and start scrolling from top 
>> to bottom and back to top.
>> The left side is the profiler run with cache and the opposite side is 
>> without cache.
> 
> What is the difference between the two images you uploaded.

The deepness of the open call graph is different. The 2nd shows more details 
inside of the getTextLayout_helper function.

> It seems that the cache is needed. Can you make a view where all the versions 
> of getTextLayout are visible? There is a second one that uses a 
> TextLayoutHelper parameter.

I'm not sure how to do that - this is an excerpt of the heaviest stack trace.

I’ve changed the filter from „matches all“ to „matches any“ (?) and then I 
tried to locate examples of these.

The result is the 3rd image now.

> It seems anyway that the cache should be kept on a mac.

Yes. It seems so.

Stephan
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to