Bug 108623 - EDITING: More and more cpu power is needed while typing a document (without any assistance Autocorrect/Spell Checking)
Summary: EDITING: More and more cpu power is needed while typing a document (without a...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 17:03 UTC by Telesto
Modified: 2017-06-27 16:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-06-18 17:03:32 UTC
Description:
It's a bit of nitpick, but I'm still wondering what's where all the CPU power is going while typing plain text with every writing assistance I know of disabled.

While typing normal words fast the CPU is in a range of 0,78 - 1,15% (LibO 5.4.0.0b2). Mostly hitting 1,15%
When doing the same with LibO 3.5.7.2 or 4.3.7.1 the range is 0,38-0,78 (mostly 0,78)
Going back to LibO3.0.0. CPU usage is mostly is in a range 0,0 and 0,38%

Doing the same by typing gibberish makes it worse way worse (3.8% - 6.00% with LibO5.4.0.0.b2)

Steps to Reproduce:
1. Use a build without dictionary's
2. Disable Autocorrect while typing (Tools -> Autocorrect) 
3. Options -> Language Settings -> Disable writing aids
4. Open Process Explorer
5. Start typing into an empty document. Play with the keyboard: Press random letters with combined with spaces and enters. Monitor CPU usage. Typing regular words is also an option when typing quickly

Actual Results:  
More and more CPU cycles are needed for just plain typing. 

Expected Results:
Most ideally the same behavior as with  3.0.0


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 6.0.0.0.alpha0+
Build ID: cbf371e07fd5dea1ea08a1f299360d1273961ebd
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-06-14_23:13:57
Locale: en-US (nl_NL); Calc: CL

and in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5

but not in 
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Buovjaga 2017-06-27 16:15:52 UTC
This is one of those famous "implementation details" that developers will be sure to ignore.
If I have to guess, the latest increase is thanks to Harfbuzz, but we are talking of such small percentages that this is not significant.
Closing.