summaryrefslogtreecommitdiffstats
path: root/test-data
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2020-12-29 19:29:22 +0000
committerDominik Stadler <centic@apache.org>2020-12-29 19:29:22 +0000
commita7c1d84c5de4cca958e66df3aa9c238468794960 (patch)
treeeef2469edd64a1bc141ab04693ada6292cd0c6bb /test-data
parentb7463df98ce68836356e827ace44dd3e339aa7fe (diff)
downloadpoi-a7c1d84c5de4cca958e66df3aa9c238468794960.tar.gz
poi-a7c1d84c5de4cca958e66df3aa9c238468794960.zip
Improve the speed of the styles-optimiser when there are many styles in a Workbook
Profiling showed that the call to isUserDefined() took most of the time, so we now fetch this only once for each style and remember the result and use it in the inner loop. The attached sample-file took aprox. 1m30s on a decent machine, now it is down to around 2s. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884917 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test-data')
-rw-r--r--test-data/spreadsheet/styles-3563.xlsbin0 -> 674304 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test-data/spreadsheet/styles-3563.xls b/test-data/spreadsheet/styles-3563.xls
new file mode 100644
index 0000000000..05376aa239
--- /dev/null
+++ b/test-data/spreadsheet/styles-3563.xls
Binary files differ