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 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
Created attachment 122467 [details] nps snapshot
Reassigning to module system, as the last fix of issue 208936 which was optimizing InstalledFileLocatorImpl.clustersFor().
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.
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