[Libreoffice-bugs] [Bug 105575] Slow rendering when using a Logo command

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 10 17:35:05 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=105575

Xisco Faulí <xiscofauli at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |noelgrandin at gmail.com

--- Comment #18 from Xisco Faulí <xiscofauli at libreoffice.org> ---
(In reply to Jan-Marek Glogowski from comment #13)
> So this should have been just a quick look and turned into some hours
> analysis with multiple problems unveiled...
> 
> Just for the "fun" of it, I did throw the example into callgrind. In my
> symbol+assert build, I found that the primary problem is dynamic_cast's
> strcmp from the assert in "SwContact* GetUserCall(const SdrObject* pObj)".
> Commenting that, and running callgrind again, I found dynamic_cast still to
> be a problem, but much less ;-) Now 10% of the time is spend in
> __gnu_cxx::__normal_iterator...
> 
> SwObjectFormatter::FormatObjsAtFrame_
> SwSortedObjs::ListPosOf
> __gnu_cxx::__normal_iterator
> 
> That's one reason why the progress gets slower. The LO code iterates over
> the graphics objects vector to find the matching SwAnchoredObject. Normally
> that code is no problem, since we don't have 400 draw objects and
> "everytime" add a new one causing a relayout with several of these lookup.
> 
> And the display was never refreshed in callrind, until LibreLogo was
> finished.
> 

@Noel, I thought you might be interested in this comment from Jan-marek

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210810/eced6fb9/attachment.htm>


More information about the Libreoffice-bugs mailing list