[Libreoffice-bugs] [Bug 120014] MacOS: Lots of unresponsiveness (beachballs) when enabling automatic spell checking in a large document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 26 07:47:51 UTC 2019


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

--- Comment #4 from Alex Thurgood <iplaw67 at tuta.io> ---
I had a look at this with Instruments.app, the Apple provided developer tool
and carried out a time profile using an older version of the Writer Guide ODT
as a test document in a non-debug, production release version of LO 6152.

A fairly significant amount of time, when scrolling either with the vertical
document scrollbar or the mouse wheel scroll function, comes from :

+0x160  callq               "PaintHelper::DoPaint(vcl::Region const*)"

which is called several hundred times in certain cases, leading to a time
occupation of several hundred milliseconds.

That call is linked to :


vcl::Window::ImplCallPaint(vcl::Region const*, ImplPaintFlags)

which calls

SwDashedLine::Paint(OutputDevice&, tools::Rectangle const&)

I am enclosing a screenshot of the Instruments.app output zoomed in on an area
of the trace where the processing time caused a noticeable slowdown/lag in
cursor scrolling.

Analysing the functions called in this area of the trace points to the calls I
indicated above.

-- 
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/20190426/0a7f116d/attachment.html>


More information about the Libreoffice-bugs mailing list