[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #31 from Stéphane Guillou (stragu) 
 ---
(In reply to Jeff Fortin Tam from comment #29)
> I think Stéphane uses Linux too, so they could probably confirm whether they
> are seeing this issue manifesting differently across the two platforms on
> their end.
With attachment 193587, I get:

gtk3:
- 24.2.2: ~1m25s
- current 24.8alpha0+ build: ~42s

gen:
- 24.2.2: ~1m20s
- current 24.8alpha0+ build: ~41s

So a clear improvement in 24.8 regardless of VCL plugin, but still too long.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d5dcc9de8ebce5d14be89ddeb6606ef0aeebf7a9
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

My win11 setup is a VM, so more sluggish in general, but 24.2.1 and 24.8alpha0+
both take ~1 minute (most files take a couple of seconds).

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7b9905df455b47977968a185a7c43f35541e018b
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Timur  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #30 from Timur  ---
I tested original "Lenovo's accessories spreadsheet" in Linux, here with GEN.
As noted before, huge number of comments there, and it loads fast if comments
are removed (checked that for conditional formatting but comments are the
culprit).
I cannot confirm that single CPU is used all the time, rather large chunks of
time are one of CPUs, but it changes. 

LO 7.5:   50-51 sec
LO 7.6:   54-57 sec
LO 24.2:  30-90 sec
LO 24.8+: 18-23 sec
MSO:  7 sec

Strange that loading times in 24.2 are in large range in the same computer. 

Good that current master is the fastest. Biggest speed up in 24.8 with 56>24
sec is:

commit  2e1f9da8a6359c8909e087a92239aefd4851b116[log]
author  Armin Le Grand (allotropia)   
Sat Dec 23 15:52:06 2023
Decouple ScPatternAttr from SfxItemPool

Just looking at seconds, there should be speed up, just not sure if it's
possible without overhaul.

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Jeff Fortin Tam  changed:

   What|Removed |Added

 CC||stephane.guillou@libreoffic
   ||e.org

--- Comment #29 from Jeff Fortin Tam  ---
I think Stéphane uses Linux too, so they could probably confirm whether they
are seeing this issue manifesting differently across the two platforms on their
end.

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #28 from Jeff Fortin Tam  ---
Created attachment 193590
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193590=edit
video of a stopwatch showing the last 30 seconds of loading the Lenovo
accessories spreadsheet on Linux with Calc 24.2.2.2

Everyone reporting OK load times for the xlsx file are so far running Windows…

Here is video proof of just how slow it still is on Linux:
even with a pretty recent CPU like an Intel Core i5-8350U,
it takes over 3 min 50 secs before load completes / contents show up.
It remains sluggish when using it afterwards.

I find it interesting that m_a_riosv still experiences the slow load time on
Windows when using the ods file however, I did not expect that…

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #27 from m_a_riosv  ---
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 432c866072aa62cf90168d569dc56cbc7269bcda
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded Jumbo

With: https://bugs.documentfoundation.org/attachment.cgi?id=193587
about 25 seconds.

With:
https://fortintam.com/public/libreoffice-augustin-benchmark--million-rows-spreadsheet.ods
about 1' 55"

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #26 from Jeff Fortin Tam  ---
Created attachment 193587
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193587=edit
xlsx sample file - Lenovo's accessories spreadsheet

Attached is the xlsx sample (Lenovo's accessories spreadsheet) for posterity.

The other spreadsheet that exhibits the slow performance problem but with
different code paths (as seen in the flame graphs) due to being
OpenDocument-formatted is too big to attach (80 megabytes, exceeding this bug
tracker's 30 megabytes filesize limit), but I promise to keep hosting it at:

https://fortintam.com/public/libreoffice-augustin-benchmark--million-rows-spreadsheet.ods

…at least until the bug is fixed when it comes to loading that spreadsheet in
addition to the xlsx one.

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Robert Großkopf  changed:

   What|Removed |Added

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

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Timur  changed:

   What|Removed |Added

 CC||ti...@libreoffice.org

--- Comment #25 from Timur  ---
Jeff, can you upload the file as attachment? External links are not reliable.

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-04-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #24 from Armondo Lopez  ---
I don't experience any extensive period of load time in 

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

or

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a2265e8faa099d9652efd12392c2877c2df1d1eb
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-03-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #23 from Jeff Fortin Tam  ---
That would seem logical to me, because in practice, Calc does not show anything
in the canvas during loading, it only shows the progressbar below the view,
during the whole 1.5 minutes. Once it reaches the end of the progressbar / XML
processing, it then renders the whole document in one pass, as far as I can
tell from casual visual observation.

Apologies for my incorrect previous assumption that maybe something
graphically-related explained the difference between my situation and other
commenters'; I wonder why some people are not experiencing the issue, while
it's still 100% reproducible here on any of my Linux computers. I presumed that
the filters/backends would be the same across platforms…

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-03-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #22 from Caolán McNamara  ---
The flamegraphcs appear to be massively dominated by loading, and next to no
rendering so I think anything around skia vs gtk or wayland doesn't seem to
matter wrt the flamegraph at least

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-03-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #21 from Jeff Fortin Tam  ---
Created attachment 193054
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193054=edit
Flame graph screenshot from Sysprof 46 when loading the ODS spreadsheet from
comment 5

Here is another flame graph from Sysprof 46 under the same system conditions,
this time using a simplified (only 150 thousand rows) version of the
spreadsheet sample from comment #5.

This file being in ODS format, the flame graph exhibits different function
calls than the Lenovo one (with its xlsx format).

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-03-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Jeff Fortin Tam  changed:

   What|Removed |Added

 Attachment #188627|0   |1
is obsolete||
 Attachment #188628|0   |1
is obsolete||
 Attachment #188629|0   |1
is obsolete||

--- Comment #20 from Jeff Fortin Tam  ---
Created attachment 193053
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193053=edit
Flame graph screenshot from Sysprof 46 when loading the Lenovo accessories
spreadsheet

Here is a flame graph performance profile of what happens during those 1 minute
30 seconds needed to open the Lenovo spreadsheet with LibreOffice 24.2
(flatpaked) on my ThinkPad T480 laptop running Fedora 39 on Wayland.

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: gtk3
Locale: fr-CA (en_CA.UTF-8); UI: en-US
Flatpak
Calc: threaded

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #19 from Jeff Fortin Tam  ---
The pattern I'm noticing with the other two who replied so far is those of you
who now report better performance seem to be using the Skia renderer on
Windows, whereas the Linux version (at least the flatpak one) seems to be using
the "Default" renderer (that you all used to run) with GTK3…

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

m_a_riosv  changed:

   What|Removed |Added

 Status|REOPENED|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #18 from m_a_riosv  ---
About ten seconds with
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded


The issue was still with
Version: 7.6.5.0.0+ (X86_64) / LibreOffice Community
Build ID: 2e65401cf50ca25e16a0f3d4b624e2b48c97644c
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #17 from Jeff Fortin Tam  ---
As an additional note (just for the sake of exhaustivity) regarding that Radeon
R9 270: it seems like the "Allow use of OpenCL" setting is turned off by
default in the "LibreOffice > OpenCL" options; however, even if I enable it, it
makes no difference in processing times, and in both cases I see roughly 0%
usage in radeontop. Everything is happening on the CPU, in only one thread,
even though multi-threaded calculation is enabled.

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

[Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2024-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Jeff Fortin Tam  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #16 from Jeff Fortin Tam  ---
I had great hopes for this, unfortunately I must report that the problem
persists in the latest version, with this same Lenovo spreadsheet above, as
well as the other one-million rows spreadsheet sample mentioned in comment #5.

I have tested on the Wayland version of GNOME Shell 45.3 on Fedora 39, with:

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded

On my Intel Xeon W3520 CPU (8 logical CPUs) and AMD Radeon "Pitcairn" R270
graphics, the sample Lenovo spreadsheet mentioned above takes 2 minutes and 31
seconds (roughly) with the setup above. The one-million rows spreadsheet sample
mentioned in comment #5 still takes a minute. During that time, in both cases,
only one of the CPU cores/threads is used, at 100%.

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-09-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Caolán McNamara  changed:

   What|Removed |Added

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

--- Comment #15 from Caolán McNamara  ---
I imagine that this was:

commit 2bda87fd8758448267c447ba26f1932325a1338d
Date:   Fri Aug 11 13:29:23 2023 +0100

defer turning xlsx notes into SdrCaptions until activated

to improve import performance

or similar in the comment area because there are over 40,000 comments in that
document.

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-09-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #14 from m.a.riosv  ---
24 seconds for me with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 92d0fa8c3a7998e51c8f27409ed8c44f34c42c8e
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Jumbo

Should be a bit better in a liberated release.

Please, @Caolán, can you set up the bug as fixed.

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-09-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Jeff Fortin Tam  changed:

   What|Removed |Added

 CC||caolan.mcnamara@collabora.c
   ||om

--- Comment #13 from Jeff Fortin Tam  ---
Interesting, I'm cautiously optimistic and hope to test this again with the
next version when it comes out (unless the fixes could be backported to 7.6.x,
or there is an easy flatpak-style way for users to test the upcoming 24.02
version?) Is there a particular set of changes/commits that we could point to
as the probable fix for this?

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-09-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Noel Grandin  changed:

   What|Removed |Added

Version|7.5.1.2 release |24.2.0.0 alpha0+ Master

--- Comment #12 from Noel Grandin  ---
Thanks to caolan's fixes, this opens in 10s (on a very fast machine), which
means it should open in 20s or so on a more normal machine.
So I think we can consider this fixed.

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

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

--- Comment #11 from b.  ---
most likely calcs old funbrakes:  
'comments / notes / post-it's / captions / annotations or tracking notes'  
and conditional formatting.  
Not comments in the bug report, but 'comments', 'notes', in the file.  
A funbrake in LO Calc since years, and this document has lots! of them.  
Find similar reports: search for 'comment' 'slow' in bugs, trail down the 'See
Also's
 too.  
( there are old reports marked 'fixed', _assume_ 'not' )  
Check the amount: F5 ( navigator ), there 'comments'.  
verify the impact: remove comments and reopen file.  
( here > 2 min. -> ~ 1 min. )  
_assume_: ineffective iterations / nested looping / somewhere.  
( 'quadratic' or 'exponential' 'explosion', other possible  
sources and influences see in old reports )  
remove conditional formattings, save and re-load.  
( here ~ 1 min. -> < 40 sec. )  
Tested with 7.4.5.1 under Linux.  
While bugs are pushed around for years instead of solving  
the problems will be reported again and again.

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-07-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #10 from Jeff Fortin Tam  ---
Created attachment 188629
  --> https://bugs.documentfoundation.org/attachment.cgi?id=188629=edit
Screenshot of stack traces in sysprof 44 (bottom half)

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-07-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Jeff Fortin Tam  changed:

   What|Removed |Added

 Attachment #186384|0   |1
is obsolete||

--- Comment #9 from Jeff Fortin Tam  ---
Created attachment 188628
  --> https://bugs.documentfoundation.org/attachment.cgi?id=188628=edit
Screenshot of stack traces in sysprof 44 (top half)

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-07-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #8 from Jeff Fortin Tam  ---
Created attachment 188627
  --> https://bugs.documentfoundation.org/attachment.cgi?id=188627=edit
sysprof 44 capture file with debug symbols activated

I have now done `dnf debuginfo-install libreoffice libreoffice-calc` and
recorded a new capture with Sysprof 44 on Fedora 38 in a Wayland GNOME session.
Attached is the sysprof* capture file, which is probably going to be more
useful than the previous capture attempt.

In the future, a recording with sysprof 45 could bring even more meaningful
data and a nicer analysis GUI (but I could probably only record that in
November-January, if nobody has identified the problem from the existing
sysprof output here by then).

I will also attach some screenshots of what this current sysprof capture looks
like, for your convenience of being able to see the top stack traces / function
calls "at a glance".

*: https://wiki.gnome.org/Apps/Sysprof

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-04-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

ady  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #7 from ady  ---
Also under Win10. > NEW.

I have not tested with other spreadsheet tools.

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-04-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #6 from Jeff Fortin Tam  ---
Not X11-specific, and potentially not graphics-stack-related: I also tested on
Wayland with an Intel Xeon W3520 CPU (8 logical CPUs) and AMD Radeon "Pitcairn"
R270 graphics, and it takes the same time to open this sheet.

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-04-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Jeff Fortin Tam  changed:

   What|Removed |Added

 Blocks||136524, 114159
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||1207

--- Comment #5 from Jeff Fortin Tam  ---
Actually not just the Lenovo accessories spreadsheet, but also the sample
spreadsheet at
https://fortintam.com/public/libreoffice-augustin-benchmark--million-rows-spreadsheet.ods
exhibits the problem in a similar way. While this spreadsheet was originally
used as part of bug #151207 to show one various areas where multithreading
would be beneficial, it can also be used just as a general file opening
performance benchmark, even if file opening was multithreaded.

Indeed, presumably, even if it would be multithreaded and would use all 4
logical CPUs to open the Lenovo spreadsheet instead of 1, it would still take
50 seconds (instead of 3 mins 20) on that computer, which is still much slower
than the 3 to 13 seconds that Gnumeric and Excel can manage. So, I can imagine
that multithreading could help, but wouldn't be the entire solution by itself.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=114159
[Bug 114159] [META] Calc Threaded Calculation bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=136524
[Bug 136524] [META] Performance/hang/lag/high CPU issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-03-31 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #4 from Jeff Fortin Tam  ---
Created attachment 186384
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186384=edit
Screenshot of stack traces in sysprof

I don't know if that helps, but if you look at it with sysprof, it seems (from
my untrained eye) that there is a lot of expensive stuff going on with libsclo
and libsvllo...

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-03-31 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Jeff Fortin Tam  changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|DUPLICATE   |---

--- Comment #3 from Jeff Fortin Tam  ---
It doesn't look like a strict duplicate (of bug #129228) to me either, and
"It's hard!" is not a resolution status in my view.

This being on 7.5, newer than 7.4, tells me it's also a different problem from
what was investigated and fixed in
https://llunak.blogspot.com/2022/07/making-unsorted-lookups-in-calc-fast.html

---

For comparison now, I installed Gnumeric, and it was able to open this same
file in less than 11 seconds, with zero lag (whether scrolling or changing
pages) while editing the file after opening it. *Gnumeric*, ladies and
gentlemen! On the same computer, same OS, etc. There is then no reason why
LibreOffice Calc can't achieve sub-20 seconds open times (let alone be able to
scroll fluidly once opened, but I guess that's a different matter).

I also asked two friends to time how long it takes to open that file in Excel
on Windows. Results: for one of them (with an older laptop) it took 13 seconds.
For the other, it took... 3 seconds. Ouch.

I believe my initial "performance objective" guess remains valid: LibreOffice
should aim to open this sample file "in 10-20 seconds or less."

LibreOffice taking over 3 minutes to open this file weakens the app's
credibility for enterprise scenarios, or even simply for community marketing
when you try to convince individuals to use it (and you are then embarrassed
when it falls apart on their data).

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-03-31 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

--- Comment #2 from ady  ---
(In reply to m.a.riosv from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 129228 ***

This new bug 154525 is being reported against LO 7.5. Bug 129228 has been set
to FIXED for several years now.

Shouldn't this report be confirmed in some way or another before setting it as
duplicate of an old already-FIXED report?

Isn't it possible that the description of the behavior is similar, but the
problem is different (or came back again)?

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-03-31 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

m.a.riosv  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||miguelangelrv@libreoffice.o
   ||rg
 Resolution|--- |DUPLICATE

--- Comment #1 from m.a.riosv  ---


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

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

[Libreoffice-bugs] [Bug 154525] [sample] Calc is extremely slow (3+ minutes) to open Lenovo's Accessories "Options Compatibility Matrix" spreadsheet

2023-03-31 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154525

Jeff Fortin Tam  changed:

   What|Removed |Added

   Keywords||filter:ooxml, filter:xlsx,
   ||perf

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