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 197270, 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.2 Beta (Build 201205031832) VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: Linux Maximum slowness yet reported was 2680 ms, average is 2680
Created attachment 122598 [details] nps snapshot
Created attachment 124648 [details] nps snapshot
Both snapshots show that completion was mostly waiting until a file is parsed.
Sorry, the previous comment wasn't precise enough Both snapshots show the following: 60-70% is spent in waiting for the current file parsing to complete The rest (30-40%) is spent in recursive headers traversal (see bug 221698) Parser stacks in snapshots differ: - the first one shows that most time is spent in deep header traversal, - the second one spends all the time in ParserQueue.handleLastProjectFile, which in turn calls FakeRegistrationWorker.fixFakeRegistration, which waits on a CountDownLatch.
Not sure if this clarifies. My NB just filed http://statistics.netbeans.org/analytics/exception.do?id=674262 and it was exceptionally slow (I have a very fast machine). Restarting the IDE made it go away. The messages.log for that session is attached, and there were lots of interesting complaints at the end.
Created attachment 135162 [details] messages.log for the session with the long parse time.
Product Version: NetBeans IDE Dev (Build 201304212301) Updates: Updates available Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Linux version 3.6.11-4.fc16.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev
33 reports => P2