ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24868] - Ant takes too long to load
Date Fri, 21 Nov 2003 19:21:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24868>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24868

Ant takes too long to load





------- Additional Comments From peter.reilly@corvil.com  2003-11-21 19:21 -------
ant1.6 does use deferred loading for tasks/types
and project.init() is now very fast.
However, other parts of the system has changed.
Using a simple file:
<project default="simple">
  <target name="simple"/>
</project>
takes on my system 0.8 seconds in 1.6 and ~1.0 in 1.5.
Looking at the time each part takes
            XMLReader parser = JAXPUtils.getNamespaceXMLReader();
in PH2 takes 0.22 seconds.
As I am using java 1.4.2, I do not need xerces so
I tested removining xercesImpl.jar and xml-apis.jar
from $ANT_HOME/lib
the time taken reduced to 0.55 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message