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.
It seems to be a general NB IDE project system issue. Steps to reproduce: - run IDE with a fresh userdir - create Welcome, Quote and Fractal local sample projects - switch off NB Welcome page - open welcome.cc, quote.cc and fractal.cc files in the editor - close IDE - open IDE Result: It takes 12 seconds IDE window to appear and 12 seconds more to show 3 projects in the Projects view (before projects parsing). In my opinion it's too slow for such small projects.
It might be related to BZ#186803, but I'm not sure
On my Linux laptop with a slow HDD and a mid-end CPU the main NB window appears in about 8 seconds, and projects are opened in another 8 seconds. What is your OS by the way? I've checked the same for 3 sample Java SE projects and 3 files open in editor. IDE startup time is pretty the same as for C/C++ projects. So you are probably right that it's a general NB issue.
Created attachment 99553 [details] Hot spots Here is the list of hot spots as detected by YourKit profiler. Note that I disabled all kinds of C/C++ semantic highlighting before profiling to make sure that Projects view initialization is not delayed by opened editors. It didn't change the total startup time, but it removed some CND code from hot spots.
I mentioned numbers for my Linux desktop but the slowness is visible on any platforms and it heavily depends on number of open projects. e.g. on my Windows Vista laptop where I had 5 opened local and remote sample projects it required 25 seconds to open these projects what was very annoying.
On my Linux desktop opening pre-created "chromas" project with switched off C/C++ code assistance after starting IDE takes 56 seconds (no files are open in the editor). I think it could be a candidate for 6.9.1.
OK, targeting for "Next". Hope it will be 6.9.1.
A performance issue that should be fixed in 6.10
Alexander, It look like that the issue you are describing has gone. I've used you scenario, but increased the number of projects to 10 with different files opened from each of them. I don not see any slowness, comparing to without-projects start. I'll close this issue as WORKSFORME. If you have any test or some scenario that shows that issue is still with us, please reopen the issue. In that case we can re-measure hot spots and understand where the slowness is. Regards, Igor