Bug 144995 - FILEOPEN ODT: Slow opening (220 seconds to screen with 7.3; 60 seconds with 4.4.7.2 ) for a large document with lots of changes tracked (in shown mode), and being combined with plenty of comments (also shown))
Summary: FILEOPEN ODT: Slow opening (220 seconds to screen with 7.3; 60 seconds with 4...
Status: RESOLVED DUPLICATE of bug 148013
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks:
 
Reported: 2021-10-08 08:20 UTC by Telesto
Modified: 2022-03-17 19:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
perf flamegraph (107.95 KB, application/x-bzip)
2021-10-08 19:07 UTC, Julien Nabet
Details
Example file (show comments & track changed disabled) (1.57 MB, application/vnd.oasis.opendocument.text)
2021-10-09 07:47 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-10-08 08:20:18 UTC
Description:
FILEOPEN ODT: Slow opening (220 seconds with 7.3; 60 seconds with 4.4.7.2 ) for a large document with lots of changes tracked (in shown mode), and being combined with plenty of comments (also shown))

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

Actual Results:
220 seconds to open with 7.3
90 seconds with 6.1



Expected Results:
60 seconds


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b60b6bfaafa1315e07108dba50f016975b619c59
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL

less of an issue with
Version: 6.1.0.0.beta1+
Build ID: da49f4aeb8d5e9a7d2cba8855d911e7cc1d2f1e2
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 1 Julien Nabet 2021-10-08 19:07:17 UTC
Created attachment 175603 [details]
perf flamegraph

Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today.
Comment 2 Julien Nabet 2021-10-08 19:07:59 UTC
Noel: I attached a Flamegraph in my previous comment, thought you might be interested in this one.
Comment 3 Telesto 2021-10-09 07:47:56 UTC
Created attachment 175609 [details]
Example file (show comments & track changed disabled)

Only scouting the terrain: Same file except show comments & track changed disabled. 

-> Improves opening time. 90 seconds or so (no exact measure) for 7.3 still 60 seconds at 4.4.7.2
-> Turning on Show Track changes is pretty expensive (slow) in 7.3 better in 4.4.7.2

(Auto)Saving the file doesn't win awards either, might be connected to opening/or slightly different (not totally exact measures, didn't use time command)

48 seconds with 7.3
40 seconds with 4.4.7.2; 
30 seconds with 3.5.7.2

Memory usage can be discussed about
398 mb after file open 7.3 x64
188 mb with 4.4.7.2 (x32). x64 might consume 80mb more. So 270 mb. 

I do notice a drop in usage from the 398 mb after saving.
Comment 4 Telesto 2022-03-17 19:26:26 UTC

*** This bug has been marked as a duplicate of bug 148013 ***