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 - CodeCompletion took 2089 ms in org.apache.tools.ant.module.bridge.AntBridge
Summary: CodeCompletion took 2089 ms in org.apache.tools.ant.module.bridge.AntBridge
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-07-27 15:01 UTC by javydreamercsw
Modified: 2016-07-07 08:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191092


Attachments
nps snapshot (13.68 KB, application/nps)
2012-07-27 15:01 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
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