Bug 158543 - Lots of CPU time used when moving a table left/right or up/down with arrow keys (or when dragging) but no lag
Summary: Lots of CPU time used when moving a table left/right or up/down with arrow ke...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Cell-Management Performance
  Show dependency treegraph
 
Reported: 2023-12-05 13:50 UTC by Telesto
Modified: 2024-08-19 18:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
perf.data (2.58 MB, application/octet-stream)
2024-08-19 18:11 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-12-05 13:50:29 UTC
Description:
Lots of CPU time used when moving a table left/right or up/down with arrow keys (or when dragging) but no lag

Steps to Reproduce:
1. Open attachment 140880 [details] (bug 116630)
2. Select the table
3. Press and hold arrow up (or arrow down or arrow left or arrow right)

Actual Results:
Usage of a single core at 23% no annoying though  

Expected Results:
There is room for improvement, but 


Reproducible: Always


User Profile Reset: No

Additional Info:
Found in
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ff3fb42b48c70ba5788507a6177bf0a9f3b50fdb
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

far worse in 
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

and bad in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 1 Raúl Osuna 2023-12-29 11:02:30 UTC
I can reproduce it in the GNU/Linux version:

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 16; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb)
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded

With 16 cores, following the instructions one of my 16 cores reaches up to 50%. Releasing the key puts it back to near 0%. Other than that, no lag observed in the system. I have used "htop" to check it, I guess it must be easy to reproduce, if this is recognized as a bug.
Comment 2 BogdanB 2024-08-19 18:11:56 UTC
Created attachment 195906 [details]
perf.data

I hope the file is usefull