GNOME Bugzilla – Bug 581378
Performance regression during xls export
Last modified: 2009-05-05 19:52:02 UTC
The upcoming attachment is an Excel file from http://qa.openoffice.org/issues/show_bug.cgi?id=4983 (Attachment 1686 in OO.org's tracker). 1.8.4 exports the file in about ten seconds, while the git version takes minutes. Steps to reproduce: - ssconvert attachment.xls /tmp/foo.xls Console output (repeated, and possibly unrelated): gnumeric:read-WARNING **: File is most likely corrupted. (Requested 2045430240*2 bytes, but only 118 bytes left in record. The problem occurred in excel_read_HLINK.) Backtrace:
+ Trace 215112
Created attachment 133973 [details] xls file
> (Requested 2045430240*2 bytes, but only 118 bytes left in record. > The problem occurred in excel_read_HLINK.) URLs are getting to be really long these days. Highly likely to be totally unrelated.
It takes forever because we loop over the entire sheet, i.e., 64k*256. The output in .gnumeric format shows our styles are in a very fragmented state.
Note, that for all practical purposes, the .gnumeric output is unchanged since at least 1.8.2 Hence we can rule out the input side.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.