Bug 115903 - Adding paragraphs in a (multi-page) table with embedded tables is slow and cpu hogging
Summary: Adding paragraphs in a (multi-page) table with embedded tables is slow and cp...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2018-02-21 10:57 UTC by Telesto
Modified: 2018-11-29 08:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (20.41 KB, application/vnd.oasis.opendocument.text)
2018-02-21 10:57 UTC, Telesto
Details
Callgrind output from master (7.20 MB, application/x-xz)
2018-03-08 13:23 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2018-02-21 10:57:35 UTC
Description:
Adding paragraphs in a (multi-page) table with embedded tables is slow and cpu hogging

Steps to Reproduce:
1. Open the attached file
2. Hold enter while pressing enter in the cell 'Press Enter here"

Actual Results:  
A noticeable slowdown/ CPU hogging

Expected Results:
Shouldn't be a hog 


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 6.1.0.0.alpha0+
Build ID: b87fe45e8b087a315a65b92bf9c168b1e4c5cc00
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-02-16_23:14:35
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.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Telesto 2018-02-21 10:57:52 UTC
Created attachment 140034 [details]
Example file
Comment 2 Buovjaga 2018-03-08 13:23:58 UTC
Created attachment 140474 [details]
Callgrind output from master

Repro. It even crashed in my first test.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: b8fe96f1da2c42c04a8094ca8c57d49763b7bded
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 8th 2018
Comment 3 yuchun 2018-11-29 08:29:48 UTC
Still exists in version.
The file is the attachment which Telesto supplied.

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded