Bug 131766 - Special Paste as RTF of Arabic slow
Summary: Special Paste as RTF of Arabic slow
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, perf
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2020-04-01 09:05 UTC by Telesto
Modified: 2026-01-31 13:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (17.52 KB, application/vnd.oasis.opendocument.text)
2020-04-01 09:06 UTC, Telesto
Details
Example file 180 pages latin for comparison (23.86 KB, application/vnd.oasis.opendocument.text)
2020-05-13 19:34 UTC, Telesto
Details
Perf flamegraph (358.48 KB, image/svg+xml)
2020-08-29 06:26 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-04-01 09:05:58 UTC Comment hidden (obsolete)
Comment 1 Telesto 2020-04-01 09:06:11 UTC
Created attachment 159210 [details]
Example file
Comment 2 Xisco Faulí 2020-05-13 11:49:28 UTC
is 5/6 seconds slow for a 180 pages documents ? I don't think so. it means it page takes in avarage 0,028 seconds to be pasted.
closing as RESOLVED NOTABUG
Comment 3 Telesto 2020-05-13 19:33:51 UTC
Steps to Reproduce:
1. Open the attached file
2. CTRL+C
3. CTRL+N
4. CTRL+SHIFT+V Paste as RTF

Expected 5 seconds, actually 35 seconds
Comment 4 Telesto 2020-05-13 19:34:18 UTC
Created attachment 160781 [details]
Example file 180 pages latin for comparison
Comment 5 Buovjaga 2020-08-28 20:16:56 UTC
Yep, ~25 secs here even with 4.4.7.

3.3.0 pastes total garbage, but is hella fast!

3.5.0 crashes upon paste.

I should do a perf trace later.

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: e2fe4fde592564d35099ad1e2659ad682dfb77f5
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 25 August 2020
Comment 6 Buovjaga 2020-08-29 06:26:56 UTC
Created attachment 164842 [details]
Perf flamegraph
Comment 7 QA Administrators 2022-08-30 04:38:56 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2024-08-30 03:15:53 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2026-01-31 13:06:32 UTC
About 12 secs now, so big improvement.

Arch Linux 64-bit
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 19f943f13485918d35597be1dcae48c0fbecd0e3
CPU threads: 8; OS: Linux 6.18; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 31 January 2026