Bug 136727 - Special Paste RTF for large table slowish
Summary: Special Paste RTF for large table slowish
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
Depends on:
Blocks: RTF-Paste
  Show dependency treegraph
 
Reported: 2020-09-13 19:28 UTC by Telesto
Modified: 2022-05-18 14:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (41.03 KB, application/vnd.oasis.opendocument.text)
2020-09-13 19:28 UTC, Telesto
Details
Perf flamegraph (543.33 KB, image/svg+xml)
2022-05-18 14:30 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-09-13 19:28:27 UTC
Description:
Special Paste RTF for large table slowish

Steps to Reproduce:
1. open the attached file
2. CTRL+A
3. CTRL+X
4. CTRL+SHIFT+V -> RTF & OK

Actual Results:
15 seconds

Expected Results:
5 seconds


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: ed4f610f4a3de12016f8308a17b6ad4f86e9d67a
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
Comment 1 Telesto 2020-09-13 19:28:58 UTC
Created attachment 165465 [details]
Example file
Comment 2 Telesto 2020-09-13 19:30:53 UTC
Also in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 3 Jan-Marek Glogowski 2020-09-13 21:02:23 UTC
Seems the RTF import is slow. Just save the document as RTF (fast) and open the file (slow). Takes much longer here then opening the ODT. Looks like an RTF import problem. Not idea, if opening that 3 MB RTF should take that long...

Someone could do some callgrind analysis to see, where the time is actually spend.
Comment 4 Xisco Faulí 2021-02-15 18:20:19 UTC
Hi Telesto,
Could you please try to reproduce it with a master build from
http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the master build
Comment 5 QA Administrators 2021-08-15 03:46:45 UTC Comment hidden (obsolete)
Comment 6 Telesto 2021-08-21 17:25:46 UTC
Still present
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: f58f35b2c8ca1efbacec642a8f3de5b0c499bc6b
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
Comment 7 Buovjaga 2022-05-18 14:30:46 UTC
Created attachment 180185 [details]
Perf flamegraph

Trace of opening the RTF version of the example file

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 32714f966186d301435d3eb9f7f6950bc9a6bb1e
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 8 Buovjaga 2022-05-18 14:31:12 UTC
Takes 11 secs for me.