Bug 57884 - XSSFDataFormat.getFormat is slow with large numbers of formats
Summary: XSSFDataFormat.getFormat is slow with large numbers of formats
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.12-dev
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on: 57880
Blocks:
  Show dependency tree
 
Reported: 2015-05-03 07:36 UTC by Nick Burch
Modified: 2017-09-10 08:02 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Burch 2015-05-03 07:36:08 UTC
As discovered when working on #57880, for XSSF, creating 33,000 cell styles is 30 times faster than creating the same number of format indexes. For 5,000 cell styles and formats, creating the cell styles is only 3 times faster than creating the formats.
Comment 1 Nick Burch 2015-05-03 07:54:08 UTC
In r1677368 I've made a few changes which gives a 3x speed improvement on creating 33,000 data formats in XSSF. It's still slower to create the formats than it is to create cell styles, so there may be some more optimisations to do