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.
This bug was originally marked as duplicate of bug 186998, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001) VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07 OS: Windows 7 User Comments: rosswald: deleted the entire project codebase and checked out manually (ie the files reappeared while NB had still project opened with old file list) Maximum slowness yet reported was 38446 ms, average is 38446
Created attachment 106994 [details] nps snapshot
Looking at the snapshot, it seems that the git support access IO for a bunch of folders through FileStatusCache.containsFiles()->FileStatusCache.getStatus() - this should be eliminated, the folders are not interesting in the scope of containsFiles and listFiles(), git does not track folders. So calling getInfo() instead of getStatus() should be sufficient, information about files should be stored in cache anyway, so there's no need to involve isIgnored logic and sharability query.
fix: http://hg.netbeans.org/core-main/rev/2fbff6e671c4
Integrated into 'main-golden', will be available in build *201103160400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2fbff6e671c4 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: call fast getInfo instead of slower getStatus Issue #196702 - LowPerformance took 38446 ms.