-
Notifications
You must be signed in to change notification settings - Fork 190
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
A large number of imports slow down #59
Comments
Hey, thank you for letting me know that. I've tried a couple of hundred rows but never with thousands. (usually hundreds are no problem) By the way, there seems to have no way to solve that issue because most of loading process is done within NPOI in case of loading excel file. Any other ideas? Cheers, |
I went to see the NPOI author's blog (http://blog.sina.com.cn/tonyqus), which has not been updated for many years, and GitHub (https://github.com/tonyqus/npoi) has not been updated for eleven months. But I saw two other Excel plugins, EPPlus and DocX on the author's blog. Maybe you can have a look. |
Let me see a comparison of NPOI and EPPlus (https://www.cnblogs.com/tanpeng/p/6155749.html), and EPPlus has a better advantage in quantity generation, and NPOI has a large amount of memory in addition to the problem of generating quantitative performance. (svn2github/npoi#13) |
Thanks for sharing the information. Never heard about EPPlus before. According to its note, it says it can load over 50000 rows within a few seconds. Sounds interesting. Thanks. Cheers, ps. @hubluesky Are you developer of EPPlus project? (Just my curiosity though ;-) |
@kimsama No, I'm just a cleaner programmer. |
I personally found using I made a personal modification to the plugin, using a custom context menu action to do the importing (and thus avoiding asset reimporting), and the speed is so much faster. (Dropped from 1.0+s to nearly negligible). I believe this is a good direction to investigate. |
Could you commit then push those changes for pull-request? |
Gladly. I'll do it when I have time :3 |
When the number of rows in the excel table exceeds one thousand, the import will become very slow and slow.
The text was updated successfully, but these errors were encountered: