ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno PRIN" <Bruno.P...@fr.adp.com>
Subject RE: Target duration
Date Wed, 28 Dec 2005 09:51:06 GMT
Problem with this solution is that sub-target cumulate with parent target.
I explain, if I sum all time I don't obtain the real total time :

Statistics:
-------------- Target Results ---------------------
z2xcmneditingbm.application.env: 0.000 sec
build.ejb.weblo7.ejbc.classpath: 0.015 sec
z2xcmneditingbm.log-target: 0.016 sec
z2xcmneditingbm.copy_jar_files: 0.031 sec
z2xcmneditingbm.dist.copy_dico: 0.032 sec
build.ejb.weblo7.launch-ejbjar: 0.047 sec
z2xcmneditingbm.copy_jar_files: 0.062 sec
build.ejb.weblo7.gen-Async-EJB-jar: 0.078 sec
build.ejb.weblo7.gen-bp-EJB-jar: 0.079 sec
z2xcmneditingbm.gen-mdb-EJB-jar: 0.093 sec
z2xcmneditingbm.gen-bp-EJB-jar: 0.094 sec
z2xcmneditingbm.base.classpaths: 0.109 sec
z2xcmneditingbm.base.classpaths: 0.110 sec
z2xcmneditingbm.base.classpaths: 0.125 sec
z2xcmneditingbm.copy_jar_files: 0.140 sec
z2xcmneditingbm.base.classpaths: 0.188 sec
z2xcmneditingbm.app-server-properties: 0.203 sec
z2xcmneditingbm.app-server-set: 0.218 sec
z2xcmneditingbm.dist.copy_l10n: 0.219 sec
z2xcmneditingbm.dist.copy_l10n: 0.250 sec
z2xcmneditingbm.dist.copy_l10n: 0.265 sec
z2xcmneditingbm.dist-jar.ejb: 0.266 sec
z2xcmneditingbm.dist.copy_l10n: 0.297 sec
z2xcmneditingbm.appconf.anttasks: 0.328 sec
z2xcmneditingbm.appconf.anttasks: 0.344 sec
z2xcmneditingbm.appconf.anttasks: 0.359 sec
z2xcmneditingbm.appconf.anttasks: 0.407 sec
z2xcmneditingbm.appli-with-param-without-deploy: 0.453 sec
z2xcmneditingbm.base.classpaths: 0.469 sec
z2xcmneditingbm.livraison_preparedirs: 0.641 sec
z2xcmneditingbm.livraison_empaquete: 0.672 sec
z2xcmneditingbm.appconf.anttasks: 0.719 sec
z2xcmneditingbm.gen.property.file: 0.984 sec
z2xcmneditingbm.dist-jar: 1.016 sec
build.ejb.weblo7.launch-ejbjar: 1.203 sec
build.ejb.weblo7.gen-EJB-jar: 1.234 sec
z2xcmneditingbm.gen-EJB-jar: 1.390 sec
z2xcmneditingbm.dist.jars: 1.422 sec
z2xcmneditingbm.livraison_clean: 1.578 sec
z2xcmneditingbm.genmdb: 1.672 sec
z2xcmneditingbm.genasync-service.local: 2.000 sec
z2xcmneditingbm.gen.property.file: 2.297 sec
z2xcmneditingbm.load.application.properties: 2.766 sec
z2xcmneditingbm.genservice.local: 2.875 sec
prepare.module.dtd.prepare: 3.109 sec
z2xcmneditingbm.dist.copy_display: 3.234 sec
z2xcmneditingbm.generation.anttasks: 4.203 sec
z2xcmneditingbm.generation.anttasks: 4.296 sec
z2xcmneditingbm.generation.anttasks: 4.328 sec
z2xcmneditingbm.prepare: 4.375 sec
z2xcmneditingbm.generation.anttasks: 5.672 sec
z2xcmneditingbm.generation.anttasks: 6.828 sec
z2xcmneditingbm.genmodule-properties: 7.672 sec
z2xcmneditingbm.genxpm: 13.156 sec
z2xcmneditingbm.genbp.local: 13.703 sec
z2xcmneditingbm.compile.classes: 13.891 sec
z2xcmneditingbm.genjava: 68.203 sec
z2xcmneditingbm.merge.application.jar: 85.014 sec

TOTAL ==> 265,45

-------------- Totals -----------------------------
Start time: mar., 27 déc. 2005 20:16:53.138
Stop time: mar., 27 déc. 2005 20:20:10.230
Total time: 197.092 sec

==> Not equals !!!

I'll try the log4j.properties solution.

-----Message d'origine-----
De : Nicolas Vervelle [mailto:nicolas.vervelle@steria.com] 
Envoyé : jeudi 22 décembre 2005 17:35
À : Ant Users List
Objet : Re: Target duration

I forgot the link:
http://ant-contrib.sourceforge.net/tasks/tasks/performance_monitor.html

That's probably what you want

Nicolas Vervelle wrote:

> Performance Monitor from Ant contrib ?
>
> Bruno PRIN wrote:
>
>> Hello,
>>
>> We use ant to build 130 modules.
>> The compilation ant building step take over 10 hours, we want to know 
>> which step spend more time.
>>
>> The project is launch several times, i know the time spend by each 
>> launch of the project but I want to know the detail by target.
>>
>> Is there an option to display the time spend by each target ?
>>
>> Thanks
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>> additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>  
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
> commands, e-mail: user-help@ant.apache.org
>
>
>


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


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


Mime
View raw message