Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.6.2-incubating
-
None
-
Windows & Linux
-
Important
Description
Dear Sir,
We are using ODFTOOLKIT for 3 main functions:
1. "Format Load" - Loading format into spreadsheet
2. "Put Data" - population table into spreadsheet , it could be table with 5,000 rows and 20 columns.
3. "Append Sheet" - Appending several sheets and assembling workbook. (up to 150 sheets)
We have a serious issue with performance, these 3 steps for 150 sheets with 5000x20 dimension may take more then 1h.
See some code below.
Any help or idea will be highly appreciated.
Kakha
---------------------------------------------------------------------------------------
@Override
public void setCellValue(int colIndex, int rowIndex, double value) {
try {
Cell cell = currentSheet.getCellByPosition(colIndex, rowIndex);
String valueType = cell.getValueType();
if (valueType != null) {
switch (valueType)
} else
{ cell.setDoubleValue(value); }} catch (Throwable t)
{ log.error(t.getMessage(), t); }}
---------------------------------------------------------------------------------------------------------
try (ByteArrayInputStream in = new ByteArrayInputStream(content))
{ spreadsheetDocument = SpreadsheetDocument.loadDocument(in); }Attachments
Attachments
Issue Links
- depends upon
-
ODFTOOLKIT-427 PERFORMANCE: Table getRowCount, getRowByIndex cache improves getCellByPosition
- Open
-
ODFTOOLKIT-424 PERFORMANCE: Reuse XMLFactrories, currently created too frequently during insertNode and setTextContent.
- Resolved
-
ODFTOOLKIT-426 PERFORMANCE: simple Document.getCopyStyleList improvements to reduce String allocation, hashing, etc.
- Closed
- relates to
-
ODFTOOLKIT-385 Table Performance
- Open