[Libreoffice-bugs] [Bug 137468] Severe performance degradation on a macOS with a 5K display

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 19 05:45:27 UTC 2020


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

--- Comment #10 from Leo Wang <ilford at gmail.com> ---
(In reply to Tor Lillqvist from comment #7)
> Leo, do you have any way to objectively measure the impact of these patches,
> out do you just estimate by eyeball? (or is the difference so very obvious
> if one just knows what kind of document to use and what to do while editing
> it?)
> 
> I submitted the first patch on your behalf as
> https://gerrit.libreoffice.org/c/core/+/104476 .

With iStat Menus' CPU/GPU dropdown menu:

Original: 5-7 fps (almost unusable)
Patched: 12-18 fps (acceptable, but not smooth)

when the content is pure text.

Quartz Debug also gives the FPS number, but since it updates the dock icon
frequently, the number is usually much higher than the actual, especially when
the FPS is very low.

I am still trying to find where the pixel format conversions are introduced.

AquaSalGraphics::copyArea and AquaSalGraphics::copyBits are the hottest spots,
they call CGContextDrawLayerInRect and CGContextDrawLayerAtPoint and those 2
functions call argb32_image_mark then rgba32_sample_rgba32 is called.

-- 
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/20201019/0d52f23c/attachment.htm>


More information about the Libreoffice-bugs mailing list