You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Guy Catz <Gu...@waves.com> on 2008/08/17 14:33:03 UTC
how much time an action took
it is possible to tell how much time took a target to run, or a process within a target, like exec?
something like ...
<target ...>
<time action="start" property="myTime" pattern=....>
<exec ..
<time action="stop" pattern=....>
<echo>the action took ${myTime}</echo>
...
is there something like this available?
Re: how much time an action took
Posted by Dale Anson <da...@grafidog.com>.
Antelope has this too. See docs for the stopwatch task at:
http://antelope.tigris.org/nonav/docs/manual/bk03ch10.html
You might also be interested in the performance monitor, which can give
you a report on the time it takes for each target to run:
http://antelope.tigris.org/nonav/docs/manual/bk03ch27.html
Both of these have been included in ant-contrib also, see ant-contrib
docs at:
http://ant-contrib.sourceforge.net/tasks/tasks/index.html
Dale
Guy Catz wrote:
> it is possible to tell how much time took a target to run, or a process within a target, like exec?
>
> something like ...
>
> <target ...>
> <time action="start" property="myTime" pattern=....>
> <exec ..
> <time action="stop" pattern=....>
>
> <echo>the action took ${myTime}</echo>
> ...
>
>
> is there something like this available?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org