Bug 120510 - It takes 4 times longer to fully process a ODT compared to same DOC content
Summary: It takes 4 times longer to fully process a ODT compared to same DOC content
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: File-Opening Performance
  Show dependency treegraph
 
Reported: 2018-10-11 12:25 UTC by Telesto
Modified: 2023-04-26 13:32 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file in ODT format (33.27 KB, application/vnd.oasis.opendocument.text)
2018-10-11 12:26 UTC, Telesto
Details
Example file in DOC format (4.38 MB, application/msword)
2018-10-11 12:26 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2018-10-11 12:25:51 UTC
Description:
It takes 4 times longer to fully process a ODT compared to same DOC content

Steps to Reproduce:
1. Open the attached file
2. Monitor CPU time until fully finished loading (CPU drops back to near 0%)
3. Export the file to DOC & open it (take notice of the time to open)

Actual Results:
40 seconds with ODT
10 seconds with DOC

Expected Results:
Something similar to the DOC


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.0.0.alpha0+
Build ID: 87e3539d69626780c6d7531b725dd0d64c69e6d8
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-10_06:50:13
Locale: nl-NL (nl_NL); Calc: CL
Comment 1 Telesto 2018-10-11 12:26:10 UTC
Created attachment 145596 [details]
Example file in ODT format
Comment 2 Telesto 2018-10-11 12:26:37 UTC
Created attachment 145597 [details]
Example file in DOC format
Comment 3 Jean-Baptiste Faure 2018-10-14 15:11:11 UTC
Although this test document has a very bad design (using table this way is as bad design as it is for website), I reproduce the problem with 

Version: 6.1.2.1
Build ID: 1:6.1.2~rc1-0ubuntu0.18.04.1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: fr-FR (fr_FR.UTF-8); Calc: threaded

Status set to NEW.

Best regards. JBF
Comment 4 QA Administrators 2020-12-27 03:36:52 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2021-01-19 12:07:26 UTC
even worse in

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 94f6765d6ecc3145fa2d266231124003cf953118
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

It takes about 90 sec for me for the ODT file
Comment 6 Roman Kuznetsov 2023-04-26 13:32:27 UTC
Still 40 sec for ODT opening in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0ee9501c0b7dc1a291715fff9c1934b1c08cb654
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded