ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (IVY-872) Improve performance of a resolve
Date Thu, 07 Aug 2008 07:31:44 GMT

    [ https://issues.apache.org/jira/browse/IVY-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620240#action_12620240
] 

gscokart edited comment on IVY-872 at 8/7/08 12:30 AM:
-------------------------------------------------------------

5% of the time in my benchmark build is spent in the contructor of ConfigurationResolveReport.

This is because the constructor parse the previous report in order to calculate later if the
the dependencies have changed.

We should add an attribute to the resolve task to make this check optional.   
The resolve task set some ant properties to indicate if the set of dependencies has changed
since the last resolve of this module.  As this is time consuming (and not use in most script),
this operation should be optional.
Moreover, making it optional give a nice oportunity to document it ;-).
As this change the API, I will create a new ticket for that.



      was (Author: gscokart):
    5% of the time in my benchmark build is spent in the contructor of ConfigurationResolveReport.

This is because the constructor parse the previous report in order to calculate later if the
the dependencies have changed.

However, this make sense only for top level ConfigurationResolveReport, not for all the 'sublevel'
report that are constructed.


  
> Improve performance of a resolve
> --------------------------------
>
>                 Key: IVY-872
>                 URL: https://issues.apache.org/jira/browse/IVY-872
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Gilles Scokart
>            Assignee: Gilles Scokart
>             Fix For: 2.0-RC1
>
>
> On heavy multi-module build with important number of dependencies the part of ivy might
be very important.
> On my benchmarked project, ivy take 50% of the time.
> I will attach to this issue some performance enhancements.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message