Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Really slow performance - 45,000 cells #670

Open
swallace21 opened this issue Aug 1, 2018 · 2 comments
Open

Really slow performance - 45,000 cells #670

swallace21 opened this issue Aug 1, 2018 · 2 comments

Comments

@swallace21
Copy link

WRITE CELLS w/Styles: ~10 seconds
loop through hashMap:
Cell newCell = spreadsheet.createCell(row, col, cellValue);
newCell.setCellStyle(someStyle);

AUTO-FIT COLUMNS: ~6 seconds
for 14 columns
spreadsheet.autofitColumn(colNumber);

@WoozyG
Copy link
Contributor

WoozyG commented Sep 5, 2018

A big part of the performance is Apache POI. I improved it by an order of magnitude in POI 3.16, which should work with an unmodified Vaadin-Spreadsheet release (I see the POM still says 3.15). POI 3.17 has several important bug fixes, but is not binary compatible due to removed deprecated methods.

@swallace21
Copy link
Author

Thanks! I ended move back to the grid. The performance boosts and inline editor proved to be overall better user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants