https://bz.apache.org/bugzilla/show_bug.cgi?id=63482

--- Comment #6 from [email protected] ---
I can confirm the problem on Win10 + Java 11 + POI 4.1.1.

I created a small sample project which shows that on Java 8, an export of 2000
rows with 30 columns using SXSSF takes around 19 seconds while on Java 11 it
takes 2 minutes and 19 seconds.

As far as I can see, the difference comes from method
'org.apache.poi.ss.util.SheetUtil.getCellWidth(int, int, CellStyle, double,
AttributedString)', the call to 'new TextLayout(str.getIterator(),
fontRenderContext)' takes around 150,000 nanoseconds on Java 8 but around
1,180,000 nanoseconds on Java 11, almost 8 times as long.

Such an order of performance loss is critical on production environments where
much more rows are exported.

Is there anything expected on next release?

The small sample project should be available at
https://github.com/azmau/poi-perf

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to