Bug 106727 - EDITING: Select All is quite slow on a page containing a large table (72 rows and 20 columns)
Summary: EDITING: Select All is quite slow on a page containing a large table (72 rows...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, perf
: 132206 (view as bug list)
Depends on:
Blocks: Writer-Tables-Select
  Show dependency treegraph
 
Reported: 2017-03-23 18:43 UTC by Telesto
Modified: 2022-09-25 10:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Callgrind output from master (1008.48 KB, application/x-xz)
2019-02-02 20:50 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-03-23 18:43:22 UTC
Description:
Select All isn't quite responsive if the page is containing a large table

Steps to Reproduce:
1. Open attachment 124534 [details] (bug 99416)
2. Press CTRL+A

Actual Results:  
It takes around 4 sec for the selection to appear (and noticing a CPU hog)

Expected Results:
Nearly instant selection


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in:
Version: 5.4.0.0.alpha0+
Build ID: 1670cc25bc2771e87f7956a4b0dd634abaa4128b
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-03-22_23:28:42
Locale: nl-NL (nl_NL); Calc: CL

and 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-03-29 11:27:55 UTC
Yeh, it's a bit laggy.

Win 7 Pro 64-bit Version: 5.4.0.0.alpha0+ (x64)
Build ID: 8681bd32d778585fc0da8f42a77aeb58cbae4308
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2017-03-29_04:04:20
Locale: fi-FI (fi_FI); Calc: CL
Comment 2 QA Administrators 2018-03-30 02:33:43 UTC Comment hidden (obsolete)
Comment 3 Roman Kuznetsov 2019-02-02 19:49:07 UTC
Telesto, bouvjaga, please retest it in latest master.

I got less than 1 sec for selecting of all cells in

Версия: 6.3.0.0.alpha0+
ID сборки: 51af3179cf972809d6495c7d58033e069f647bbf
Потоков ЦП: 4; ОС:Linux 4.18; Отрисовка ИП: по умолчанию; VCL: kde5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-02-01_00:15:00
Локаль: ru-RU (ru_RU.UTF-8); UI-Language: ru-RU
Calc: threaded
Comment 4 Buovjaga 2019-02-02 20:43:54 UTC
In 2017 I tested with a laptop from 2012. Now if I test with my fast desktop, I get 1,15 seconds on Linux and 1,60 seconds in a Win 10 VM.

I guess Telesto would like to see the selection rather happen in 0,1 seconds.

I can do a callgrind trace.

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: 8fbad2f600cd3ab81e7c1da0e4a2a71ebcac0553
CPU threads: 8; OS: Linux 4.20; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 31 January 2019

Version: 6.3.0.0.alpha0+
Build ID: 3a4d46c586352939a37e3b07fa74cbce81abd722
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded
Comment 5 Buovjaga 2019-02-02 20:50:28 UTC
Created attachment 148860 [details]
Callgrind output from master
Comment 6 Telesto 2019-02-02 21:38:36 UTC
(In reply to Buovjaga from comment #4)
> In 2017 I tested with a laptop from 2012. Now if I test with my fast
> desktop, I get 1,15 seconds on Linux and 1,60 seconds in a Win 10 VM.
> 
> I guess Telesto would like to see the selection rather happen in 0,1 seconds.
> 
Of course ;-).. However it sample file is a little exotic

If you want to make it worse (or maybe a different bug)
1. Open the attached file
2. Copy the table.. paste it a few times on new pages
3. Press CTRL+A
4. Scroll..
Comment 7 Thomas Lendo QA 2020-09-06 20:13:22 UTC
*** Bug 132206 has been marked as a duplicate of this bug. ***
Comment 8 QA Administrators 2022-09-07 03:58:02 UTC Comment hidden (obsolete)
Comment 9 Roman Kuznetsov 2022-09-25 10:53:42 UTC
No repro  for me in

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 943177e0f8074753db25d9a56d15f8010a755ffc
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

Telesto, could you please retest it on your PC?