ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Ivy 2 resolve time over a WAN
Date Mon, 01 Sep 2008 15:59:51 GMT
On Mon, Sep 1, 2008 at 5:41 PM, <paul.newport@targetgroup.net> wrote:

>
>
>
>
> Here's an example output of an Ivy 2 beta install I did earlier today. I am
> on the end of a WAN. At the other end there is a firewall between me and
> the internet. It seems the resolve part of the install takes ages - look at
> the total time, 17 and a half minutes. How much http traffic does a resolve
> involve ?
>
> If I do the same thing in ivy 1 the resolve and install is massively
> quicker.

It's rather difficult to evaluate performance when part of the process
involves accessing resources over the internet, served by servers which do
not always give the same response time. A better test would involve only
resources that you master, to be sure the server performance is the same
between your tests. So I can't say much on what you see, except that Ivy 2
shouldn't be much slower than Ivy 1.

There's also a way with Ivy 2 to audit some performance, by adding this to
your settings:
       <triggers>
           <log file="${ivy.log}" append="true"
                     message='resolving,,,"${module}"'
                 event="pre-resolve" />
           <log file="${ivy.log}" append="true"

 message='dependency,${duration},,"${module}","${revision}","${req-revision}"'
                 event="post-resolve-dependency" filter="resolved=true"/>
           <log file="${ivy.log}" append="true"
                     message='resolved,${resolve-duration},,"${module}"'
                 event="post-resolve" />
           <log file="${ivy.log}" append="true"

 message='downloaded,${download-duration},${download-size},"${module}"'
                 event="post-resolve" />
           <log file="${ivy.log}" append="true"

 message='artifact,${duration},${size},"${module}","${revision}","${origin}","${file}"'
                 event="post-download-artifact" filter="status=successful"/>
           <log file="${ivy.log}" append="true"

 message='retrieved,${duration},${size},"${module}",,${nbCopied}'
                 event="post-retrieve" />
       </triggers>

You will get information on where the time is spent, the file can be loaded
as a csv file. If you find one particular performance bottleneck, we are
interested!

Xavier



>
>
>
>
> :: Ivy 2.0.0-beta2 - 20080225093827 :: http://ant.apache.org/ivy/ ::
> [ivy:settings] :: loading settings :: file = Y:\ivySettings.xml
> org.jboss.envers:
> [ivy:install] :: installing org.jboss.envers#jboss-envers;1.0.0.GA ::
> [ivy:install] :: resolving dependencies ::
> [ivy:install] found org.jboss.envers#jboss-envers;1.0.0.GA in javarepo
> [ivy:install] :: downloading artifacts to cache ::
> [ivy:install] downloading
>
> http://repository.jboss.com/maven2/org/jboss/envers/jboss-envers/1.0.0.GA/jboss-envers-1.0.0.GA.jar
>  ...
> [ivy:install] .......
> [ivy:install] . (186kB)
> [ivy:install] .. (0kB)
> [ivy:install] [SUCCESSFUL ]
> org.jboss.envers#jboss-envers;1.0.0.GA!jboss-envers.jar (6735ms)
> [ivy:install] :: installing in teamivy ::
> [ivy:install] published jboss-envers to
> \\blabla\ivy-repository/repositoryivy/org.jboss.enversjboss-envers/
> 1.0.0.GA/jboss-envers-1.0.0.GA.jar
> [ivy:install] published ivy to
> \\blabla\ivy-repository/repositoryivy/org.jboss.enversjboss-envers/
> 1.0.0.GA/ivy-1.0.0.GA.xml
> [ivy:install] :: install resolution report ::
> [ivy:install] :: resolution report :: resolve 0ms :: artifacts dl 6750ms
> ---------------------------------------------------------------------
> |                  |            modules            ||   artifacts   |
> |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
> ---------------------------------------------------------------------
> |      default     |   1   |   1   |   1   |   0   ||   1   |   1   |
> ---------------------------------------------------------------------
> BUILD SUCCESSFUL
> Total time: 17 minutes 24 seconds
>
>
>
> Target
> www.targetgroup.net
>
> Target is a trading name of Target Group Limited,
> registered in England and Wales No. 1208137
> Registered office:  Target House, Cowbridge Road East, Cardiff CF11 9AU
>
> **********************************************************************
> DISCLAIMER.
> This message is intended only for the use of the Addressee and may
> contain information that is PRIVILEGED and CONFIDENTIAL.
> If you are not the intended recipient you must not copy,
> distribute or take any action or reliance upon it.
> The content of this message may also contain personal
> views of an employee of this company and does
> not necessarily represent the view of the company.
> **********************************************************************
> This message has been scanned by Norton Anti-Virus.
> It has also been scanned by MAILsweeper to enforce our e-mail
> policy. If you have any concerns or comments about the content
> of this message, please  e-mail support@targetgroup.net.
> **********************************************************************
>
>
> _____________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs Email
> Security System. For more information on a proactive email security
> service working around the clock, around the globe, visit
> http://www.messagelabs.com
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message