Bug 107304 - FILEOPEN OTT: Slow file-opening
Summary: FILEOPEN OTT: Slow file-opening
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, notBibisectable, regression
Depends on:
Blocks:
 
Reported: 2017-04-20 17:56 UTC by Telesto
Modified: 2019-07-06 13:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Callgrind output from master (5.85 MB, application/x-xz)
2018-05-22 16:46 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-04-20 17:56:15 UTC
Description:
File-opening is quite slow in LibO5.4 compared to LibO4.0.0.1.

Steps to Reproduce:
1. Launch Writer
2. Download and open attachment 117368 [details] (bug 87647)

Actual Results:  
Slow file opening

Expected Results:
Fast file opening


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in 
Version: 5.4.0.0.alpha0+ (+/- 25 sec)
CPU threads: 4; OS: Windows 6.19; UI render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-04-05_23:32:27
Locale: nl-NL (nl_NL); Calc: CL

and in
Versie: 4.1.0.4 (+/-16 sec)
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28

but not in
Versie 4.0.0.3 (+/- 5 sec)
Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Xisco Faulí 2017-04-20 18:17:38 UTC
I can't reproduce it in

Version: 5.4.0.0.alpha0+
Build ID: 7635e0c1c7f821a1081f8e3868f641ae74a172d6
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

it takes

real	0m3.645s
user	0m3.584s
sys	0m0.252s
Comment 2 Telesto 2017-04-23 16:11:29 UTC
It could be win-only. Aron, would you mind to give it a try?
Comment 3 Aron Budea 2017-04-23 21:59:09 UTC
Trying to open the file hangs Writer for me for version 5.3.2.2, it opens slowly in 4.1.0.4, and opens quickly in 4.0.0.3.
Comment 4 David 2017-10-03 22:41:31 UTC
The sample file seemed to hang in 5.4.1 under Linux, but after leaving it sit for about 30 minutes it opened.  I'm also having problems with other files that are taking far longer to open than they did previously.
Comment 5 Buovjaga 2018-05-22 16:46:31 UTC
Created attachment 142241 [details]
Callgrind output from master

In absolute seconds, it does not take as much time on Linux as on Windows, but I took a callgrind trace anyway.

Arch Linux 64-bit
Version: 6.1.0.0.alpha1+
Build ID: 21b11273ae91f0cf7fd5f3f9fd2168e4349852c4
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on May 11th 2018
Comment 6 Buovjaga 2018-07-05 17:10:08 UTC
No discernible difference in Linux 43all builds, so I will not bibisect. 2-3 seconds for 40,41,42,43 tags.
Comment 7 QA Administrators 2019-07-06 02:47:24 UTC Comment hidden (obsolete)
Comment 8 Telesto 2019-07-06 13:17:32 UTC
No repro
Version: 6.4.0.0.alpha0+ (x86)
Build ID: c2cb467a1e5194c56bb65706b7965fb2c9241b8f
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-06-29_00:11:35
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: threaded