Bug 140712 - Deleting a column in very large table slow 3x slower compared to 5.0 branch
Summary: Deleting a column in very large table slow 3x slower compared to 5.0 branch
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf, regression
Depends on:
Blocks: Cell-Add-Delete
  Show dependency treegraph
 
Reported: 2021-02-28 12:59 UTC by Telesto
Modified: 2024-02-24 01:28 UTC (History)
3 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 2021-02-28 12:59:13 UTC
Description:
Deleting a column in very large table slow 3x slower compared to 5.0 branch

Steps to Reproduce:
1. Open Writer
2. Insert -Table -> Type 5000 rows (2 columns)
3. After layouting finished (113 pages for older versions) delete a column


Actual Results:
4 seconds with 5.0.6.3 
12 seconds with 5.1 and up

Expected Results:
4 seconds


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
7.2 and in

Versie: 5.1.6.2 
Build ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909
CPU Threads: 4; Versie besturingssysteem:Windows 6.2; UI Render: GL; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 1 Dieter 2021-03-15 07:57:10 UTC
14 seconds with

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 21c602913d98ef46b49fc9b6f9071db92a1597c6
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Creating the table is around 6 seconds, so I agree that 12 seconds for deleting a column is abit too long (I can't compare with 5.0)
Comment 2 Roman Kuznetsov 2023-03-08 13:12:24 UTC
2 sec in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0484a9a3f5e2ecb678f6fb41bbb251529e89c00d
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded

Telesto, please retest it yourself in latest dev build too
Comment 3 Tex2002ans 2024-02-12 21:38:48 UTC
Yes, I would say close this.

Following comment 0, and deleting the column, it only took me:

- ~3 seconds

- - -

Tested in:

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded