Apache OpenOffice (AOO) Bugzilla – Issue 102716
Calc is very slow for some operations (with many notes)
Last modified: 2019-06-04 01:04:59 UTC
On some quite big spreadsheets, the application is awfully slow for some operations, comparing to OOo 3.0. Test machine is a Pentium 4 at 3.4 GHz (1 core). Two formats (XLS and ODS) have been tested, and the results are the same. In each case, csrss.exe takes ~80% of the CPU! For example, in one of our spreadsheets (>15k lines, >35 cols, 15.5 MB in XLS or 5.43 MB in ODS) : 1. the loading of the spreadsheet takes much time at the end (~ 1 minute), after the 3 progress bars have been to 100% (The last one is named "calcul" in French, so maybe "Compute" in English). 2. Adding or removing a line takes much time (~ 3 minutes). 3. And copy-paste too. For this kind of spreadsheet, we were forced to revert to OOo 3.0.
please attach an example to this issue
Sorry, I just can't send the given spreadsheet since its content is private. However, I'll try to create ASAP a spreadsheet that reproduces the bug.
I just identified more precisely the problem: It comes from notes added on cells. To reproduce, add a note to a cell and copy the cell to many (say 10000). The csrss.exe process takes then much CPU and the copy operation is much slower than copying a cell that only contains text (no note). Deleting or inserting a line : same thing. Saving the file (and maybe loading too) is also slow, but csrss isn't affected.
Created attachment 63076 [details] Example file with many notes. Try deleting a line for instance
Created attachment 63077 [details] Similar file with normal text instead of notes. Use this file to compare the execution time.
can confirm it
@sukender : could you please add the keyword "regression" to this issue?
BTW: I am pretty sure that it is the "soffice" process that eats so much time ;-) See issue 111390 for explanation. I will take this issue for the bug document.
Can confirm the performance problems. Unfortunately, this cannot be solved easily due to the current implementation.
.
retested this bug today with AOO416m1(Build:9790) - Rev. 1844436 2018-10-23 12:57 under win7 pro (x64) SP1, still an issue, pls. see add. comments in #128121, could somebody pls. recheck and raise priority? see also #109276