Bug 108642 - FILEOPEN: document with a complex table structure takes double the time to open when the sidebar is enabled
Summary: FILEOPEN: document with a complex table structure takes double the time to op...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
4.4 all versions
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, haveBacktrace, perf, regression
Depends on:
Blocks: Writer-Tables File-Opening
  Show dependency treegraph
Reported: 2017-06-19 23:37 UTC by Xisco Faulí
Modified: 2019-02-02 20:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Callgrind output from master (6.27 MB, application/x-xz)
2017-06-20 13:25 UTC, Buovjaga

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2017-06-19 23:37:34 UTC
Steps to reproduce:
1. Open attachment 133874 [details] from bug 108361


Build ID: 1:5.3.3~rc2-0ubuntu0.16.10.1~lo0
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Layout Engine: new; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

without the sidebar it takes

real	2m10.252s
user	2m5.484s
sys	0m0.188s

while with the sidebar

real	6m6.350s
user	6m5.812s
sys	0m0.204s
Comment 1 Xisco Faulí 2017-06-19 23:42:12 UTC
Regression introduced by:

author	Samuel Mehrbrodt <s.mehrbrodt@gmail.com>	2014-08-22 20:37:56 (GMT)
committer	Thomas Arnhold <thomas@arnhold.org>	2014-08-24 11:26:17 (GMT)
commit	b4558b508141af16d335f45a0f12bdd34521e944 (patch)
tree	f8479fe8131a0d1677100e2cc16c244e860189cb
parent	a75e0f8e4e5f0baa5805d01c5f8edc7b40fceb0f (diff)
fdo#73151 Make better use of the sidebar
The general idea is to encourage use of the sidebar instead of floating windows (for Navigator, Styles&Formatting and Gallery)

* Show the sidebar by default in Writer & Impress
* Remove the Gallery floating window (Gallery now always opens in the sidebar)
* Remove all Gallery, Navigator and Styles&Formatting links from the default toolbar in Writer
  (since they have an icon in the sidebar and the sidebar is shown by default now)
* When selecting "More" from the Styles dropdown, the Stylelist opens in the sidebar instead of the floating window

Bisected with bibisect-44max

Adding Cc: to Samuel Mehrbrodt


Build ID: b4558b508141af16d335f45a0f12bdd34521e944

it takes

real	4m17.950s
user	4m11.596s
sys	0m0.400s

while in

Build ID: a75e0f8e4e5f0baa5805d01c5f8edc7b40fceb0f (Previous Commit )

it takes 

real	1m47.564s
user	1m39.744s
sys	0m0.444s
Comment 2 Xisco Faulí 2017-06-19 23:43:58 UTC
It seems to open in just a few seconds in

Id. de compilación: 3d9a8b4b4e538a85e0782bd6c2d430bafe583448
Subproc. CPU: 1; SO: Windows 6.1; Repr. de IU: predet.; Motor de trazado: HarfBuzz; 
Configuración regional: es-ES (es_ES); Calc: group

Thus, Linux only
Comment 3 Buovjaga 2017-06-20 13:25:22 UTC
Created attachment 134161 [details]
Callgrind output from master

Arch Linux 64-bit, KDE Plasma 5
Build ID: d6c4c576ef71f2294ec8eefc6576a797220e6809
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 18th 2017
Comment 4 QA Administrators 2018-06-21 02:51:30 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2019-02-02 20:36:21 UTC
it takes 8 sec with Sidebar in

ID сборки: 51af3179cf972809d6495c7d58033e069f647bbf
Потоков ЦП: 4; ОС:Linux 4.18; Отрисовка ИП: по умолчанию; VCL: kde5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-02-01_00:15:00
Локаль: ru-RU (ru_RU.UTF-8); UI-Language: ru-RU
Calc: threaded

Kubuntu 18.10

Xisco, WFM or not?