Hi Dominique, > That's interesting. What you are saying is that <antcall> is expensive > because it creates a new project, which is known Ant wisdom > ;-)
well this wasn't a problem until 1.6.3. ;-) > Would you mind sending the output of the performance listener > for the same > script (with heavy <antcall>) on both versions of Ant? No this is no problem. Some descriptions of the script: There is one include statement including a script that merely defines several properties and has no targets. Additionally there are several properties defined in the script. Each get*Artifacts target defines additional properties based on the included properties, tries to create one or more directories and calls the presetdef "see.get" which predefines verbose, usetimestamp, username and password for the get task. The target called from commandline is "getArtifacts" which antcall's "getJArtifacts" where there is a large block of 23 antcall's to execute the different get*Artifacts targets. The get task itself communicates over SSL. First a "reference" of ANT 1.6.2: ====================================================================== Statistics: -------------- Target Results --------------------- InternalArtifacts.getDtConnectorsXIArtifacts: 0.000 sec InternalArtifacts.getSeeLicenseArtifacts: 0.031 sec InternalArtifacts.prepare: 0.032 sec InternalArtifacts.getGenericFormsArtifacts: 0.047 sec InternalArtifacts.getBIS6SchedulerArtifacts: 0.063 sec InternalArtifacts.getEdifactSecureArtifacts: 0.078 sec InternalArtifacts.getFrameworkArtifacts: 0.094 sec InternalArtifacts.getRepositoryArtifacts: 0.125 sec InternalArtifacts.getBICCommonASArtifacts: 0.156 sec InternalArtifacts.getBis6BaseArtifacts: 0.422 sec InternalArtifacts.getBis6CoreArtifacts: 0.453 sec InternalArtifacts.getBIS6ModulesArtifacts: 0.828 sec InternalArtifacts.getGuiModulesArtifacts: 0.860 sec InternalArtifacts.getDtBase6Artifacts: 0.922 sec InternalArtifacts.getDtConnectors6Artifacts: 1.250 sec InternalArtifacts.getJArtifacts: 9.625 sec InternalArtifacts.getArtifacts: 10.391 sec -------------- Task Results ----------------------- InternalArtifacts..property: 0.000 sec InternalArtifacts.getGuiModulesArtifacts.see.get: 0.015 sec InternalArtifacts.getDtConnectors6Artifacts.see.get: 0.016 sec InternalArtifacts.getBICCommonASArtifacts.see.get: 0.031 sec InternalArtifacts.getDtConnectors6Artifacts.see.get: 0.032 sec InternalArtifacts..import: 0.062 sec InternalArtifacts..import: 0.063 sec InternalArtifacts..import: 0.078 sec InternalArtifacts..import: 0.079 sec InternalArtifacts..import: 0.094 sec InternalArtifacts..import: 0.109 sec InternalArtifacts.getBis6CoreArtifacts.see.get: 0.140 sec InternalArtifacts.getJArtifacts.antcall: 0.141 sec InternalArtifacts.getDtBase6Artifacts.see.get: 0.156 sec InternalArtifacts.getJArtifacts.antcall: 0.172 sec InternalArtifacts.getJArtifacts.antcall: 0.187 sec InternalArtifacts.getJArtifacts.antcall: 0.188 sec InternalArtifacts.getJArtifacts.antcall: 0.203 sec InternalArtifacts.getBIS6ModulesArtifacts.see.get: 0.219 sec InternalArtifacts.getJArtifacts.antcall: 0.234 sec InternalArtifacts.getJArtifacts.antcall: 0.250 sec InternalArtifacts.getJArtifacts.antcall: 0.266 sec InternalArtifacts.getJArtifacts.antcall: 0.297 sec InternalArtifacts.getJArtifacts.antcall: 0.312 sec InternalArtifacts.getJArtifacts.antcall: 0.375 sec InternalArtifacts.getArtifacts.delete: 0.500 sec InternalArtifacts.getJArtifacts.antcall: 0.594 sec InternalArtifacts.getJArtifacts.antcall: 0.640 sec InternalArtifacts.getJArtifacts.antcall: 1.016 sec InternalArtifacts.getJArtifacts.antcall: 1.031 sec InternalArtifacts.getJArtifacts.antcall: 1.062 sec InternalArtifacts.getJArtifacts.antcall: 1.438 sec InternalArtifacts.getArtifacts.antcall: 9.891 sec -------------- Totals ----------------------------- Start time: Fr, 24 Jun 2005 08:49:24.343 Stop time: Fr, 24 Jun 2005 08:49:35.453 Total time: 11.110 sec ====================================================================== Second, the same script with ANT 1.6.5: ====================================================================== Statistics: -------------- Target Results --------------------- InternalArtifacts.getDtConnectorsXIArtifacts: 0.000 sec InternalArtifacts.prepare: 0.047 sec InternalArtifacts.getBIS6ProjectsArtifacts: 0.062 sec InternalArtifacts.getResourcePoolArtifacts: 0.063 sec InternalArtifacts.getBIS6SchedulerArtifacts: 0.079 sec InternalArtifacts.removeOldArtifacts: 0.109 sec InternalArtifacts.getFrameworkArtifacts: 0.110 sec InternalArtifacts.getBICArtifacts: 0.141 sec InternalArtifacts.getGuiArtifacts: 0.157 sec InternalArtifacts.getSeeCommonArtifacts: 0.250 sec InternalArtifacts.getRepositoryArtifacts: 0.266 sec InternalArtifacts.getBICCommonASArtifacts: 0.344 sec InternalArtifacts.getBis6BaseArtifacts: 0.469 sec InternalArtifacts.getBis6CoreArtifacts: 0.641 sec InternalArtifacts.getDtBase6Artifacts: 0.891 sec InternalArtifacts.getGuiModulesArtifacts: 0.985 sec InternalArtifacts.getBIS6ModulesArtifacts: 1.047 sec InternalArtifacts.getDtConnectors6Artifacts: 1.750 sec InternalArtifacts.getJArtifacts: 30.563 sec InternalArtifacts.getArtifacts: 31.860 sec -------------- Task Results ----------------------- InternalArtifacts..property: 0.000 sec InternalArtifacts..property: 0.015 sec InternalArtifacts..property: 0.016 sec InternalArtifacts.getGuiModulesArtifacts.see.get: 0.031 sec InternalArtifacts.getDtConnectors6Artifacts.see.get: 0.032 sec InternalArtifacts.prepare.tstamp: 0.047 sec InternalArtifacts..property: 0.062 sec InternalArtifacts.getDtConnectors6Artifacts.see.get: 0.078 sec InternalArtifacts.getDtConnectors6Artifacts.see.get: 0.079 sec InternalArtifacts.getRepositoryArtifacts.see.get: 0.094 sec InternalArtifacts.getDtConnectors6Artifacts.see.get: 0.141 sec InternalArtifacts.getGuiModulesArtifacts.see.get: 0.156 sec InternalArtifacts.getBICCommonASArtifacts.see.get: 0.157 sec InternalArtifacts.getBis6CoreArtifacts.see.get: 0.204 sec InternalArtifacts.getBIS6ModulesArtifacts.see.get: 0.234 sec InternalArtifacts..import: 0.250 sec InternalArtifacts..import: 0.437 sec InternalArtifacts.getArtifacts.delete: 0.500 sec InternalArtifacts..import: 0.562 sec InternalArtifacts..import: 0.563 sec InternalArtifacts..import: 0.578 sec InternalArtifacts..import: 0.579 sec InternalArtifacts..import: 0.625 sec InternalArtifacts..import: 0.641 sec InternalArtifacts..import: 0.672 sec InternalArtifacts..import: 0.688 sec InternalArtifacts.getJArtifacts.antcall: 0.969 sec InternalArtifacts.getJArtifacts.antcall: 1.031 sec InternalArtifacts.getJArtifacts.antcall: 1.062 sec InternalArtifacts.getJArtifacts.antcall: 1.063 sec InternalArtifacts.getJArtifacts.antcall: 1.078 sec InternalArtifacts.getJArtifacts.antcall: 1.079 sec InternalArtifacts.getJArtifacts.antcall: 1.109 sec InternalArtifacts.getJArtifacts.antcall: 1.125 sec InternalArtifacts.getJArtifacts.antcall: 1.156 sec InternalArtifacts.getJArtifacts.antcall: 1.172 sec InternalArtifacts.getJArtifacts.antcall: 1.219 sec InternalArtifacts.getJArtifacts.antcall: 1.235 sec InternalArtifacts.getJArtifacts.antcall: 1.328 sec InternalArtifacts.getJArtifacts.antcall: 1.515 sec InternalArtifacts.getJArtifacts.antcall: 1.625 sec InternalArtifacts.getJArtifacts.antcall: 1.859 sec InternalArtifacts.getJArtifacts.antcall: 1.953 sec InternalArtifacts.getJArtifacts.antcall: 2.078 sec InternalArtifacts.getJArtifacts.antcall: 2.719 sec InternalArtifacts.getArtifacts.antcall: 31.360 sec -------------- Totals ----------------------------- Start time: Fr, 24 Jun 2005 08:51:38.640 Stop time: Fr, 24 Jun 2005 08:52:11.390 Total time: 32.750 sec ====================================================================== Finally, the script modified to use 23 target elements in one antcall instead of using 23 antcall's (with ANT 1.6.5): ====================================================================== Statistics: -------------- Target Results --------------------- InternalArtifacts.refreshWorkspace: 0.000 sec InternalArtifacts.prepare: 0.047 sec InternalArtifacts.getResourcePoolArtifacts: 0.062 sec InternalArtifacts.getSeeLicenseArtifacts: 0.063 sec InternalArtifacts.getPersistenceLayerArtifacts: 0.078 sec InternalArtifacts.getBIS6SchedulerArtifacts: 0.094 sec InternalArtifacts.removeOldArtifacts: 0.109 sec InternalArtifacts.getEdifactSecureArtifacts: 0.141 sec InternalArtifacts.getGuiArtifacts: 0.156 sec InternalArtifacts.getBICArtifacts: 0.157 sec InternalArtifacts.getRepositoryArtifacts: 0.218 sec InternalArtifacts.getSeeCommonArtifacts: 0.250 sec InternalArtifacts.getBis6BaseArtifacts: 0.469 sec InternalArtifacts.getBis6CoreArtifacts: 0.687 sec InternalArtifacts.getDtBase6Artifacts: 0.938 sec InternalArtifacts.getGuiModulesArtifacts: 1.078 sec InternalArtifacts.getBIS6ModulesArtifacts: 1.125 sec InternalArtifacts.getDtConnectors6Artifacts: 1.812 sec InternalArtifacts.getJArtifacts: 9.015 sec InternalArtifacts.getArtifacts: 10.328 sec -------------- Task Results ----------------------- InternalArtifacts..property: 0.000 sec InternalArtifacts.getGuiModulesArtifacts.see.get: 0.015 sec InternalArtifacts.getDtConnectors6Artifacts.see.get: 0.016 sec InternalArtifacts.getResourcePoolArtifacts.see.get: 0.031 sec InternalArtifacts.getBis6CoreArtifacts.see.get: 0.032 sec InternalArtifacts.removeOldArtifacts.delete: 0.047 sec InternalArtifacts..property: 0.063 sec InternalArtifacts.getGuiModulesArtifacts.see.get: 0.078 sec InternalArtifacts.getDtBase6Artifacts.see.get: 0.125 sec InternalArtifacts.getDtConnectors6Artifacts.see.get: 0.141 sec InternalArtifacts.getBis6CoreArtifacts.see.get: 0.218 sec InternalArtifacts.getBIS6ModulesArtifacts.see.get: 0.219 sec InternalArtifacts..import: 0.250 sec InternalArtifacts..import: 0.438 sec InternalArtifacts.getArtifacts.delete: 0.500 sec InternalArtifacts..import: 0.656 sec InternalArtifacts.getJArtifacts.antcall: 9.015 sec InternalArtifacts.getArtifacts.antcall: 9.828 sec -------------- Totals ----------------------------- Start time: Fr, 24 Jun 2005 08:54:14.828 Stop time: Fr, 24 Jun 2005 08:54:26.046 Total time: 11.218 sec ====================================================================== Ullrich. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]