Bug 134962 - FILESAVE: DOC: Saving ODT with lots of formulas to doc slow
Summary: FILESAVE: DOC: Saving ODT with lots of formulas to doc slow
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc, perf
Depends on:
Blocks: DOC-Formula
  Show dependency treegraph
 
Reported: 2020-07-19 15:17 UTC by Telesto
Modified: 2022-11-30 19:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (3.04 MB, application/vnd.oasis.opendocument.text)
2020-07-20 12:13 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-19 15:17:03 UTC
Description:
Saving ODT with lots of formula's to doc slow

Steps to Reproduce:
1. Open the attached file
2. Save to DOC

Actual Results:
1 minute or so

Expected Results:
10-15 seconds


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 52820b52b3bca45e2db527d1cc5f4488b2e0b9d0
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Xisco Faulí 2020-07-20 12:03:50 UTC
No attached document
Comment 2 Telesto 2020-07-20 12:13:25 UTC
Created attachment 163316 [details]
Example file
Comment 3 Xisco Faulí 2020-07-20 14:02:34 UTC
I can't reproduce it in

Version: 7.1.0.0.alpha0+
Build ID: abea0d6647c7f1f7e76c73c26cb80e6a67dc5111
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

real	0m22,142s
user	0m21,194s
sys	0m0,711s
Comment 4 Telesto 2020-07-20 18:47:04 UTC
(In reply to Xisco Faulí from comment #3)
> I can't reproduce it in
> 
> Version: 7.1.0.0.alpha0+
> Build ID: abea0d6647c7f1f7e76c73c26cb80e6a67dc5111
> CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded
> 
> real	0m22,142s
> user	0m21,194s
> sys	0m0,711s

Please try Windows with (large) number of fonts installed. Maybe it's even accessing the Printer driver (as this apparently the tendency for formula's + Windows)
Comment 5 sora34ce 2020-07-20 19:27:57 UTC
Do you know which systems are you running this on? If you said the fonts have something to do with the load time, I guess you can try to run this on a different system.
Comment 6 Buovjaga 2020-11-25 18:58:27 UTC
It takes 1 minute for me on a new Win 10 install with no added fonts. With ODT, it takes less than 3 seconds

Version: 7.2.0.0.alpha0+ (x64)
Build ID: cb084f475db33a2cfc62bc9c8de37b8c3c87b3c7
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded
Comment 7 Telesto 2020-11-25 22:31:55 UTC
Version is set to 3.5.7.2. No clue if i tested back then... anyhow repro with
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 8 QA Administrators 2022-11-26 03:41:47 UTC Comment hidden (obsolete)
Comment 9 Roman Kuznetsov 2022-11-30 19:30:33 UTC
The perf problem is still here - 30 sec in

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5b18eebc2c95321ce7e6edf10f4df81557382a48
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded