online icon indicating copy to clipboard operation
online copied to clipboard

Calc rendering acceleration

Open mmeeks opened this issue 2 years ago • 2 comments

It seems that managing the glyph cache we keep around for sal-layout is far slower to manage than even the shaping logic there, which is quite amazing:

image

Full flame-graph is in #7307 but this is zooming in on calc rendering / editing. That seems a tad unexpected and perhaps worth digging into.

Thanks ! =)

mmeeks avatar Sep 27 '23 14:09 mmeeks

mostly this is in lru_map::insert, these might help: https://gerrit.libreoffice.org/c/core/+/157722 https://gerrit.libreoffice.org/c/core/+/157723

grandinj avatar Oct 10 '23 11:10 grandinj

@sopyb - would be worth checking the SVGs from - the most recent flamegraphs in https://github.com/CollaboraOnline/online/issues/8570 and if this is no longer showing up (which seems likely) when you zoom into this sort of function - then closing this ticket would be most helpful; thank you! =)

mmeeks avatar Oct 01 '24 21:10 mmeeks