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.
Whenever I start my computer, or whenever I stop working on some other Hg repository and switch to NetBeans to open a project from my NetBeans tree, like: $HOME/src/netbeans/main/ the IDE stops responding for 30s-1min. This is unacceptable performance. It forces me to go away from computer, do something else and even forget what I wanted to do. I guess the reason for slowness is that the apisupport checks whether all these directories contain correct project which results in reading of ~700 nbproject/project.xml files. Please, find a way to speed it up. I believe that in case of NetBeans sources this could be done by detecting Nb structure by presence of few important modules and then claiming all the directories along it to be projects as well. There can be false positives, but that will not matter, the amount of projects is so big that one needs to know what to select anyway.
1. apisupport.project has nothing to do with this. The ProjectFactory.isProject is in project.ant. 2. The isProject method is already as fast as it is reasonable to be. It does not open project.xml files, it only checks for their existence. Your inode cache is cold. 3. It is an aspect of the Open Project dialog that it synchronously asks isProject on every subfolder. I think this could be fixed. *** This issue has been marked as a duplicate of 127170 ***