This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
From email from Dieter Ruppert from Siemens: > [...] some more specific import mechanism would be very useful too (a > list with relevant files, for example). This import is very slow > (more than five minutes for about 2000 files), and I think this > might be faster with a list of files which can be prepared > up front (we have a make target which prepares such a list).
I may be able to speed it up a bit, but in any case, we should have a progress bar indicating how long time it is going to take.
Fixed.
marked fixed by mistake
See also http://www.netbeans.org/issues/show_bug.cgi?id=88069
*** Issue 88069 has been marked as a duplicate of this issue. ***
Though items aren't added to project in UI thread anymore, UI is still slow when a lot of files are added to the project. Adding really big amount of files (I tried to add about 2500) takes several minutes. I'm attachihg several thread dumps, that were taken while files were being added to the project; hope they will help.
Created attachment 35656 [details] Thread dump
Created attachment 35657 [details] Thread dump (a couple of minutes after starting adding files)
Radim Kubacki wrote: AsynchronousInstantiatingIterator can be helpfull here and with ProgressInstantiatingIterator you can even display progress (in trunk only).
I raised status because IDE hangs about 30 seconds when I am adding ~500 files (it is not big project) into project. I think 'Add Folder' operation should not hangs IDE more then 5-10 seconds for big projects. Steps: 1) Create C/C++ project 2) Call 'Add Existing items from Folders...' menu item and select folder with DDD source files ==> IDE hang on about 30 seconds
I agree. And when trying to add MySQL sources it still blockes EQ and not responsible for several minutes.
There may be a problem in the code that causes some performance issues. In any case, we should implement the same solution as the class browser. It shows an hour glass when opening a node giving the right visual feedback.
This issue was escalated because of another performance issue with projects where it takes too long to open a node in large projects. The original issue (76817) is about adding files to a project takes too long. I have opened a new issue: 89289 opening node in project view takes too long for large projec for the second performance problem as a p2. I think the original issue (76817) has been fixed for most use cases. We still need some sort of progress bar in the wizard but this is not a p2 so I will downgrade this issue to p3.
Need to re-measure performance for 'large application', and if response is more than 5-10 seconds to add progress bar. Defect downgraded to P3 since the original issue has been addressed.
It seems that now it's not an issue any more. Now adding DDD sources takes 2-3 seconds.