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 43421 - First open of Ant script is very slow
Summary: First open of Ant script is very slow
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-05-18 11:23 UTC by Milan Kubec
Modified: 2006-03-24 10:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-05-18 11:23:14 UTC
[dev-200405171800, JDK 1.5.0]
First open of ant script is very slow, takes about
3-4 sec., any next opening of any other script is
fast.
Comment 1 Jesse Glick 2004-05-18 14:37:28 UTC
Probably it is loading and introspecting the Ant installation for
purposes of code completion. I don't know if there is anything that
can be done differently other than deferring the pause until some
later time, or pushing some of the delay forward into the init warmup
sequence, etc.
Comment 2 Jesse Glick 2004-06-07 14:56:37 UTC
I believe this is fixed, since the new tree GUI should not need to
load IntrospectedInfo. You will still pay the first time you invoke
Ant code completion or run a script.
Comment 3 Milan Kubec 2004-06-23 10:17:49 UTC
Yes, expanding Ant script node is much faster now. Verified in
dev-200406230100.