Bug 112978

Summary: CPU usage for selecting text has increased since 5.1
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: minor CC: ilmari.lauhakangas, thomas.lendo
Priority: low    
Version: 5.1.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Partial bibisect log

Description Telesto 2017-10-07 13:38:58 UTC
Description:
CPU usage for selecting text has increased since 5.1

Steps to Reproduce:

1. Open Writer
2. Disable Automatic spell checking (SHIFT+F7)Tools -> Spell Checking
3. Open attachment 134007 [details]
4. Open a CPU monitoring tool
5. Press CTRL+A -> Notice a CPU (25%) spike for around 5 seconds

Actual Results:  
CPU usage is spiking for around 5 seconds with LibO6. Bit less in older versions. 

Expected Results:
Shouldn't happen, as it didn't happen before. Something similar to LibO5.0. Around 7% for 2 seconds  


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 6.0.0.0.alpha0+
Build ID: c5a93cad149618bbd43632f1660a558c34bdbf7e
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-10-07_01:04:25
Locale: nl-NL (nl_NL); Calc: CL

and in LibO5.1.0.0


User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Telesto 2017-10-07 13:41:33 UTC
Created attachment 136829 [details]
Partial bibisect log

I attempted a bibisect, but got stuck because the file keeps running at 100% (at some point).
Comment 2 Buovjaga 2017-11-03 14:39:36 UTC
Confirmed with 5.4 vs. 4.4 on Win 10
Comment 3 Telesto 2017-12-04 17:01:45 UTC
I probably reported this multiple times, sorry. Most likely bug 113105 (or bug 113137)
Xisco's opinion for bug 113105 -> Taking into account it's a 1486 pages file, I would say it's kind of expected -> NOTABUG

The test file posted here is 985 pages.. So not sure what to do.. I would still call it a bug (it did work better in the past) only with a low & minor importance. Closing feels like sweeping it under the carpet..
Comment 4 QA Administrators 2018-12-05 03:48:57 UTC Comment hidden (obsolete)
Comment 5 Thomas Lendo QA 2020-08-13 21:04:36 UTC
Cannot reproduce with
Version: 7.1.0.0.alpha0+
Build ID: <buildversion>
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-08-05_04:03:50
Calc: threaded

Closing as NOTABUG as this was also mentioned from the bug opener.