Bug 140115 - Fileopening ODT: Slow file opening (8 seconds with 4.4.7.2 nowadays 30 sec)
Summary: Fileopening ODT: Slow file opening (8 seconds with 4.4.7.2 nowadays 30 sec)
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks: Regressions-imageHandling
  Show dependency treegraph
 
Reported: 2021-02-03 10:09 UTC by Telesto
Modified: 2021-07-08 20:16 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-02-03 10:09:40 UTC
Description:
Fileopening ODT: Slow file opening (8 seconds with 4.4.7.2 nowadays 30 sec)

Steps to Reproduce:
1. Open attachment 163771 [details]

Actual Results:
30 seconds (6.2 and 7.2)

Expected Results:
9 seconds Versie: 6.0.4.1



Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
7.2

not in
Versie: 6.0.4.1
Build ID: a63363f6506b8bdc5222481ce79ef33b2d13c741
CPU-threads: 4; Besturingssysteem: Windows 6.3; UI-render: GL; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 1 Telesto 2021-02-03 10:11:39 UTC
Also in
Version: 6.1.6.3
Build-ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU-Threads: 4; BS: Windows 6.3; UI-Render: Standard; 
Gebietsschema: nl-NL (nl_NL); Calc: CL
Comment 2 mulla.tasanim 2021-02-03 20:55:24 UTC
Thank You for reporting the bug.

Attached file opening takes more than 30 seconds.

I can confirm that the bug is present in,

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 761a672d62df1891b9f4f367a499b220ab2b33fa
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 3 NISZ LibreOffice Team 2021-02-09 09:08:55 UTC
bibisected with bibisect-win32-6.1 to:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=27008aa028cde8d270e898c5743a9fe5c7701dab

author	Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>	2018-03-05 20:44:08 +0900
committer	Tomaž Vajngerl <quikee@gmail.com>	2018-03-07 02:38:28 +0100

xmloff: convert XMLTextParagraphExport to get rid of "GraphicURL"

Adding CC to: Tomaž Vajngerl

On my old-ish company laptop opening the file took 22-25 seconds (measured on my phone), after this commit the time went somewhere to the 1.5-2 minutes range.
Comment 4 Telesto 2021-02-09 12:42:30 UTC
(In reply to NISZ LibreOffice Team from comment #3)
Thanks for the bibisect.. kind of reluctant to bibisect myself.. the continuous waiting  (even if you kill the process after 45 seconds)
Comment 5 Telesto 2021-04-18 10:39:08 UTC
@Noel
If you're doing your perf magic again ..

Still repro with:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a809b2ab2553e946431699d9d7ac3f6209cbdd6b
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 6 Noel Grandin 2021-07-05 17:19:45 UTC
I have optimised loading this kind of file in a series of commits in another bug - tdf#135316

It loads in < 10s on my machine
Comment 7 BogdanB 2021-07-08 20:16:09 UTC
4 seconds in Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: eac5977bfc11797eda356560a5e45c51108ef5a1
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Also 4 seconds in 
Version: 7.1.4.2 / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (ro_RO.UTF-8); UI: en-US
Calc: threaded