Bug 149131

Summary: A particular master document with comments is sluggish
Product: LibreOffice Reporter: Buovjaga <ilmari.lauhakangas>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dgp-mail, miguelangelrv
Priority: medium Keywords: haveBacktrace, perf
Version: 3.5.0 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=124300
https://bugs.documentfoundation.org/show_bug.cgi?id=160897
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Perf flamegraph

Description Buovjaga 2022-05-17 14:08:49 UTC
Created attachment 180163 [details]
Perf flamegraph

Download attachment 103519 [details] and attachment 103520 [details] and open the .odm. It is quite slow to work with.

Documents originate from bug 81792 and there is a crash bug, bug 124300.

Perf trace is taken from opening and letting it settle for a while.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 32714f966186d301435d3eb9f7f6950bc9a6bb1e
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 1 m_a_riosv 2022-05-17 15:03:00 UTC
With
Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 817b8fe7001a83cb74910eb09b7c14a3b95b8a39
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: threaded

About 15 seconds with a high usage.

Maybe in relation with 22 tables and 588 footnotes in the document.
Comment 2 Dieter 2023-09-02 09:17:19 UTC
Buovjaga, does the problem still exist in actual master or in LO 7.6? What ist the result you expect?
=> NEEDINFO
Comment 3 Buovjaga 2023-09-02 11:00:54 UTC
I think it was the comments. I don't repro anymore with 7.6. Checked with 7.4 bibisect repo that it was slow when scrolling past comments.

Arch Linux 64-bit, X11
Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 60(Build:3)
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.6.0-2
Calc: threaded