[Libreoffice-bugs] [Bug 114392] New: MacOS: Increased CPU usage while typing

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 10 19:51:16 UTC 2017


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

            Bug ID: 114392
           Summary: MacOS: Increased CPU usage while typing
           Product: LibreOffice
           Version: 5.4.0.3 release
          Hardware: All
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: telesto at surfxs.nl

Description:
Probably an implementation detail, but the CPU time spend for screen rendering
while typing has increased (not noticeable in daily usage)  Likely doubled, but
not sure (hard the measure). It seems to spend more time with alpha bitmaps
handling.

Not sure what the impact is for a high res screen..

Steps to Reproduce:
1. Launch LibreOffice 5.4 or 6b2 or 6.1 alpha with Instrument using the time
profile
2. Start typing 4 rows of text.
3. Create also a time profile using Libreoffice 5.3.7.2
4. Compare both of the time profiles
* the 6.0 profile will be spiky/ 5.3. flatter..
* . Drill Down to SwRootFrame::PaintSwFrame(OutputDevice&, SwRect const&,
SwPrintData const*) const en compare the time spend while there. 
5. Compare the results with LibreOffice 5.3.7.2


Actual Results:  
It looks like more time is spend rendering 

Expected Results:
The big question.. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 6.1.0.0.alpha0+
Build ID: d46dc8e547810208287aab77f0313f1971901464
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64 at 49-TDF, Branch:master, Time: 2017-12-08_10:35:46
Locale: nl-NL (nl_NL.UTF-8); Calc: group threaded

and in 
5.4.0.3

but not in 
5.3.7.2

A possible candidate:
https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-5-4&id=b5699cd01b6a52906880c107bac6f3802ea7353d


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8
(KHTML, like Gecko) Version/10.1.2 Safari/603.3.8

-- 
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/20171210/78de198c/attachment.html>


More information about the Libreoffice-bugs mailing list