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.

Bug 213707

Summary: CodeCompletion took 2077 ms.
Product: editor Reporter: crazyjavahacking
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 189124
Attachments: nps snapshot

Description crazyjavahacking 2012-06-07 06:34:06 UTC
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 Dev (Build 201206050001)
VM: Java HotSpot(TM) Client VM, 20.7-b02, Java(TM) SE Runtime Environment, 1.6.0_32-b05
OS: Windows 7

User Comments:
crazyjavahacking: Mockito code completion



Maximum slowness yet reported was 2077 ms, average is 2077
Comment 1 crazyjavahacking 2012-06-07 06:34:13 UTC
Created attachment 120457 [details]
nps snapshot
Comment 2 Tomas Danek 2012-06-07 07:35:32 UTC
passing to code completion, but snapshot is probably shorter than it should be.
Comment 3 Dusan Balek 2012-06-07 07:56:27 UTC
As can be seen from the attached snapshot, the code completion thread is waiting for the slow IO (java.io.WinNTFileSystem.getBooleanAttributes())