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 213907

Summary: CodeCompletion took 18648 ms.
Product: java Reporter: tnleeuw <tnleeuw>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: REOPENED ---    
Severity: normal CC: cezariusz, gerzhedowich, gtzabari, lolo_101, misterm, muellermi, sreimers, stefan79, toben, zdenek.rod
Priority: P3 Keywords: PERFORMANCE
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 179463
Attachments: nps snapshot

Description tnleeuw 2012-06-10 14:16:08 UTC
Build: NetBeans IDE Dev (Build 201206080001)
VM: Java HotSpot(TM) Client VM, 20.7-b02, Java(TM) SE Runtime Environment, 1.6.0_32-b05
OS: Windows Vista

User Comments:
GUEST: It is just slow. I was doing nothing in particular



Maximum slowness yet reported was 18648 ms, average is 7964
Comment 1 tnleeuw 2012-06-10 14:16:21 UTC
Created attachment 120616 [details]
nps snapshot
Comment 2 Dusan Balek 2012-06-11 10:25:34 UTC
As can be seen from the attached snapshot, code completion thread waits for the parsing lock held by the find usages query which is slow due to slow IO.
Comment 3 Alexander Simon 2015-04-09 12:56:34 UTC
I do not think that report 774157 was caused by slow file system.
My project and userdir are located on SSD, Netbeans cache is located on "in memory" folder (/tmp).
Comment 4 Martin Balin 2016-07-07 07:18:30 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 5 cezariusz 2017-01-26 11:52:10 UTC
Product Version: NetBeans IDE Dev (Build 201612110001)
Java: 1.8.0_112; Java HotSpot(TM) 64-Bit Server VM 25.112-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_112-b15
System: Windows 10 version 10.0 running on amd64; Cp1250; pl_PL (nb)