https://bugs.documentfoundation.org/show_bug.cgi?id=105575
Xisco FaulĂ <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #18 from Xisco FaulĂ <[email protected]> --- (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.
