[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2021-09-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Buovjaga  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=53
   ||698

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #30 from Commit Notification 
 ---
Noel Grandin committed a patch related to this issue.
It has been pushed to "libreoffice-6-3":

https://git.libreoffice.org/core/+/0789b179cea1c5fca3effc95bec169eeb5fd87cd%5E%21

tdf#126663 speed up styles display by sorting twice

It will be available in 6.3.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:6.4.0 target:6.3.1   |target:6.4.0 target:6.3.1
   ||target:6.3.2

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #29 from Roman Kuznetsov <79045_79...@mail.ru> ---
(In reply to Roman Kuznetsov from comment #27)
> 
> it takes about 30 sec for me in
> 
> Version: 6.4.0.0.alpha0+ (x64)
> Build ID: ec3a14ba93ba0be49170afa979f299bbf9e24300
> CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
> Locale: ru-RU (ru_RU); UI-Language: en-US
> Calc: threaded
> 
> Linux rule!!! But it's really strange...

it takes about 20 sec in

Версия: 6.4.0.0.alpha0+ (x64)
ID сборки: 3e64065612acec2eb29aa21e2b515953422256d7
Потоков ЦП: 4; ОС:Windows 10.0; Отрисовка ИП: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-08-15_22:57:26
Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU
Calc: threaded

without latest patch from Noel. Windows build looks more slow than linux build
in this case

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #28 from Commit Notification 
 ---
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/9a03308fafee8f424eba399c1aae56af02beafb0%5E%21

tdf#126663 speed up styles display by sorting twice

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #27 from Roman Kuznetsov <79045_79...@mail.ru> ---
(In reply to Roman Kuznetsov from comment #23)
> it takes only 4 sec for me now in
> 
> Version: 6.4.0.0.alpha0+
> Build ID: 6d024a69164716f7856ec936a72d01a6630d2a7c
> CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; 
> Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
> Calc: threaded
> 
> brilliant work, Julien and Noel! Thank you!
> 
> I'll check it on Windows when we'll be have actual windows daily build.

it takes about 30 sec for me in

Version: 6.4.0.0.alpha0+ (x64)
Build ID: ec3a14ba93ba0be49170afa979f299bbf9e24300
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded

Linux rule!!! But it's really strange...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #26 from Roman Kuznetsov <79045_79...@mail.ru> ---
Test in Comment 23 was made on 4 core CPU 2,5GHz on new notebook => 4 sec and
XFCE+vcl:gtk3

on another notebook (7 old year) with only 2 core CPU it takes about 20 sec
(KDE)

Version: 6.4.0.0.alpha0+
Build ID: 8387a6db641b29e6ff3c2f4cdc4688f538cbe35f
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: kf5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time:
2019-08-09_06:28:42
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded

why is there big difference between several machines?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #25 from Noel Grandin  ---
The -F value is a judgment call, I typically have anywhere from -F 1 to -F 200,
depending on how fast the thing I'm measuring already is. What I aim to get is
roughly > 100 samples covering the time when the interesting thing is
happening, so I get a decent chance of catching all the functions involved.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #24 from Julien Nabet  ---
Created attachment 153278
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153278=edit
perf flamegraph

On pc Debian x86-64 with master sources updated today, I wanted to retrieve
another new Flamegraph perf following Noel's commit.

Just for information, I use -F 200, should I use -F 120 or other?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #23 from Roman Kuznetsov <79045_79...@mail.ru> ---
it takes only 4 sec for me now in

Version: 6.4.0.0.alpha0+
Build ID: 6d024a69164716f7856ec936a72d01a6630d2a7c
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded

brilliant work, Julien and Noel! Thank you!

I'll check it on Windows when we'll be have actual windows daily build.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #22 from Commit Notification 
 ---
Noel Grandin committed a patch related to this issue.
It has been pushed to "libreoffice-6-3":

https://git.libreoffice.org/core/+/d2c728ea3fe1c657db500dcd114069705b4759d1%5E%21

tdf#126663 speed up styles display

It will be available in 6.3.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Xisco Faulí  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

--- Comment #21 from Xisco Faulí  ---
it takes 12 seconds for me now

Version: 6.4.0.0.alpha0+
Build ID: 6d024a69164716f7856ec936a72d01a6630d2a7c
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

@Julien, Noel, thanks for fixing this issue

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Noel Grandin  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #20 from Commit Notification 
 ---
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/1417ff019831cbe7e647be2df1a4328ec2e6%5E%21

tdf#126663 speed up styles display

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #19 from Julien Nabet  ---
Created attachment 153182
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153182=edit
perf flamegraph

Here's a new Flamegraph perf with the quoted commit included.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Julien Nabet  changed:

   What|Removed |Added

 Attachment #153129|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Jean-Baptiste Faure  changed:

   What|Removed |Added

 CC||jbfa...@libreoffice.org

--- Comment #18 from Jean-Baptiste Faure  ---
Less than 10 seconds to open Styles list in the sidebar with

Version: 6.3.1.0.0+
Build ID: 0702541b3d4661846dccde26efa9c2fb5ed65f35
Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: gtk3; 
Ubuntu_18.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); UI-Language: fr-FR
Calc: threaded

built at home under Ubuntu 18.04 x86-64

Best regards. JBF

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #17 from Julien Nabet  ---
Xisco: I can do another Flamegraph (which includes the commit) after my daytime
job.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #16 from Xisco Faulí  ---
So these are my results using the bisect repositories ( which seems much slower
than my own build )

it takes 1 minute and 15 seconds in

Version: 6.4.0.0.alpha0+
Build ID: 967644f09b8b7abe3b86d1647820f14e0196f8b4
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

( 55 seconds with gen instead of gtk3 )

and 3 minutes and 20 seconds in

Version: 6.3.1.0.0+
Build ID: 8b81a453b22611f25674f5e44ae411d78c2fcada
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

@Noel, @Julien, do you know if it's possible to optimize it further ?

@Roman, @Gabor, what time do you get ?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #15 from Commit Notification 
 ---
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-6-3":

https://git.libreoffice.org/core/+/0702541b3d4661846dccde26efa9c2fb5ed65f35%5E%21

tdf#126663: optimize style list display in sidebar

It will be available in 6.3.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:6.4.0|target:6.4.0 target:6.3.1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Xisco Faulí  changed:

   What|Removed |Added

   See Also|https://bugs.documentfounda |
   |tion.org/show_bug.cgi?id=11 |
   |8523|
 CC||kelem...@ubuntu.com

--- Comment #14 from Xisco Faulí  ---
*** Bug 118523 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Xisco Faulí  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||8523

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #13 from Commit Notification 
 ---
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/86ab2b2fcd95c6d14d0fd91dd1adaee5e7fd5713%5E%21

tdf#126663: optimize style list display in sidebar

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:6.4.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Xisco Faulí  changed:

   What|Removed |Added

Version|5.0 all versions|Inherited From OOo

--- Comment #12 from Xisco Faulí  ---
the initial code was introduced in
https://cgit.freedesktop.org/libreoffice/core/commit/?id=fd069bee7e57ad529c3c0974559fd2d84ec3151a
back in 2000
Another bottleneck killed...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Xisco Faulí  changed:

   What|Removed |Added

Version|6.2.4.2 release |5.0 all versions

--- Comment #11 from Xisco Faulí  ---
Also reproduced in

Version: 4.5.0.0.alpha0+
Build ID: 2851ce5afd0f37764cbbc2c2a9a63c7adc844311
Locale: ca_ES

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #10 from Xisco Faulí  ---
(In reply to Julien Nabet from comment #9)
> (In reply to Xisco Faulí from comment #8)
> > @Julien, you patch reduces the time to 15 seconds for me. Could you please
> > submit a patch to gerrit so it can be easily review by others ?
> 
> I'll be able to do this only when get back home after my day time job.
> If you don't want to wait, don't hesitate to submit it on gerrit.

This issue has been around for quite a while, we can wait a few more hours ;-)
I'm wondering if this code could be optimized as well? ->
https://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbcontrl.cxx?r=06daea73#3018

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #9 from Julien Nabet  ---
(In reply to Xisco Faulí from comment #8)
> @Julien, you patch reduces the time to 15 seconds for me. Could you please
> submit a patch to gerrit so it can be easily review by others ?

I'll be able to do this only when get back home after my day time job.
If you don't want to wait, don't hesitate to submit it on gerrit.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #8 from Xisco Faulí  ---
@Julien, you patch reduces the time to 15 seconds for me. Could you please
submit a patch to gerrit so it can be easily review by others ?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Xisco Faulí  changed:

   What|Removed |Added

 CC||xiscofa...@libreoffice.org
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #7 from Xisco Faulí  ---
With a clean profile, it takes 145 seconds in

Version: 6.4.0.0.alpha0+
Build ID: 620fff54ca9cd04459cc5d963ef94d4438129fe4
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Julien Nabet  changed:

   What|Removed |Added

   Keywords||perf
 CC||noelgran...@gmail.com

--- Comment #6 from Julien Nabet  ---
Noel: thought you might be interested in this one since it concerns perf.
I proposed a small patch in my previous comment.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #5 from Julien Nabet  ---
This part seems fishy:
https://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/templdlg.cxx?r=45839115#1185
1185  while( pStyle )
1186  {
1187  //Bubblesort
1188  size_t nPos;
1189  for(nPos = aStrings.size(); nPos &&
aSorter.compare(aStrings[nPos-1], pStyle->GetName()) > 0; --nPos)
1190  {};
1191  aStrings.insert(aStrings.begin() + nPos, pStyle->GetName());
1192  pStyle = pStyleSheetPool->Next();
1193  }

Wouldn't it be better to push_back every pStyle names in aStrings with the
loop, then sort once afterwards with std::sort ?

Eg:
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 8cc0240f5f6f..c9e654afed45 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1184,13 +1184,13 @@ void
SfxCommonTemplateDialog_Impl::UpdateStyles_Impl(StyleFlags nFlags)

 while( pStyle )
 {
-//Bubblesort
-size_t nPos;
-for(nPos = aStrings.size(); nPos && aSorter.compare(aStrings[nPos-1],
pStyle->GetName()) > 0; --nPos)
-{};
-aStrings.insert(aStrings.begin() + nPos, pStyle->GetName());
+aStrings.push_back(pStyle->GetName());
 pStyle = pStyleSheetPool->Next();
 }
+std::sort(aStrings.begin(), aStrings.end(),
+   [](const OUString& rLHS, const OUString& rRHS) {
+   return aSorter.compare(rLHS, rRHS) < 0;
+   });

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #4 from Julien Nabet  ---
Created attachment 153129
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153129=edit
Flamegraph

Here is a Flamgraph made from a pc with Debian x86-64 with master sources
updated today.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Joel Madero  changed:

   What|Removed |Added

 CC||jmadero@gmail.com

--- Comment #3 from Joel Madero  ---
@Roman - can you test an older version of LibreOffice to see if this is a
regression or not?
https://downloadarchive.documentfoundation.org/libreoffice/old/

It helps to pinpoint if it's a new issue or if it's just how it was build
(maybe faulty). Regressions are easier to diagnose and fix than things that
were implemented maybe poorly from the beginning.

Please test if possible. In particular 5.0 and 4.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

m.a.riosv  changed:

   What|Removed |Added

 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #2 from m.a.riosv  ---
Take about 20 seconds for me with
Version: 6.2.5.2 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: es-ES (es_ES); UI-Language: en-US
Calc: CL

There are a thousands of styles.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||103427


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103427
[Bug 103427] [META] Styles and Formatting sidebar deck and floating window
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126663] XLSX: LibreOffice is freezed when I try open Style list in Sidebar

2019-08-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126663

--- Comment #1 from Roman Kuznetsov <79045_79...@mail.ru> ---
Created attachment 153093
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153093=edit
Sample XLSX file

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs