Apache OpenOffice (AOO) Bugzilla – Issue 119232
Took too long time to open 400K .xlsx files.
Last modified: 2023-08-04 14:23:19 UTC
Created attachment 77450 [details] Sample file. Took 1:14 minutes to open the attached sample file. It took only 11 seconds to open the same file on OO3.3.
confirming on vista 32bit with aoo3.4 r1325589
This regression was to be introduced by the CWS dr78: #164376# use XCellRangeData to increase import performance as it indirectly causes a lot of reformatting operations. Reverting the relevant changes or even just disabling the mechanism with a one-liner gets the performance of loading the document back to OOo33 levels. It would be interesting to have access to #164376# to identify use cases that benefit from the CWS changes, but this closed bugtracking system has apparently been lost for good. If the new AOO automated PVT tests show that just removing/disabling the changes helps without too much impact, then this should be done.
Created attachment 79789 [details] remove the oox::xls::CellBlock cache The CellBlock cache introduced in CWS dr78 caused a major performance regression because it resulted in the document being reformatted over and over during XLSX import. As there is no simple fix to avoid the reformattings caused by the CellBlock cache it should be removed altogether.
Comment on attachment 79789 [details] remove the oox::xls::CellBlock cache The patch reverts parts of the commit from CWS dr78 on 2011-02-25 "dr78: #164376# use XCellRangeData to increase import performance" but keeps the cleanups.
This change was not included in 4.0.0. However, it may be still needed. We need some testing on this.
Reset assigne to the default "issues@openoffice.apache.org".
Opening takes ~30 sec. with AOO 4.1.7 under Win10. Maybe decreased with better computer performance (hardware or system). According to comment 4: set as PATCH
I had high hopes for this patch, but it does not improve performance on the attached file (which already loads in only 14 seconds) or a number of other performance bugs I tested: Bug 124022 Bug 123429 Bug 120619 Bug 123919