-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Excel XSSFWorkbook takes more than 4 to 5sec to load from Stream (Bulk data) #1194
Comments
Without a sample Excel file I would just suggest buying a faster machine. |
@utthungagokul Are you sure it's just 2500KB (2.5M) in size? Or 2500K rows? Can you upload this Excel file to help reproduce the issue? |
Looking at the file there just seems to be a lot data, like Sheet7 having 25k rows. With NPOI release build it takes 2 secs to initialize the workbook on my machine (AMD Ryzen 9 5950X). One option could be to lazy-initialize some structures, but if you need to access the data anyway it would then be loaded making the lazy-loading moot. |
@utthungagokul Have you tried ExcelDataReader of ClosedXML? I'd like to know their response time on this case. |
I've tested with ClosedXML and here is result:
tested on core i3 6100u, code:
|
NPOI Version
2.6.2
File Type
Upload the Excel File
Reproduce Steps
Issue Description
While reading the bulk data (2500KB) file taken almost 4 to 5 sec just create a XSSWorkBook instance.
Attempt 1:
Attempt 2:
Both Attempt 1 & 2 has same behavior.
The text was updated successfully, but these errors were encountered: