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 216074

Summary: CodeCompletion took 2089 ms in org.apache.tools.ant.module.bridge.AntBridge
Product: projects Reporter: javydreamercsw <javydreamercsw>
Component: AntAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: normal CC: KhArtNJava
Priority: P3 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191092
Attachments: nps snapshot

Description javydreamercsw 2012-07-27 15:01:09 UTC
This bug was originally marked as duplicate of bug 210435, 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 201207260002)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

User Comments:
javydreamercsw: Slow code completion on xml tags.



Maximum slowness yet reported was 2089 ms, average is 2089
Comment 1 javydreamercsw 2012-07-27 15:01:12 UTC
Created attachment 122467 [details]
nps snapshot
Comment 2 Antonin Nebuzelsky 2012-07-30 13:17:10 UTC
Reassigning to module system, as the last fix of issue 208936 which was optimizing InstalledFileLocatorImpl.clustersFor().
Comment 3 Jaroslav Tulach 2012-08-09 11:42:29 UTC
Looks like the 
org.apache.tools.ant.module.bridge.AntBridge.getMainClassLoader()
starts to seek around the disk to find some JARs. The only thing that comes to my mind to eliminate that is to prepare this class loader when an Ant file is being opened in editor. It is likely code completion will be needed, so preparing it in advance might make some sense.
Comment 4 Martin Balin 2016-07-07 08:37:34 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