You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Igor Fedorenko (JIRA)" <ji...@codehaus.org> on 2008/04/23 19:35:55 UTC

[jira] Created: (MNG-3543) readProjectWithDependencies take very long time for some projects

readProjectWithDependencies take very long time for some projects
-----------------------------------------------------------------

                 Key: MNG-3543
                 URL: http://jira.codehaus.org/browse/MNG-3543
             Project: Maven 2
          Issue Type: Bug
          Components: Performance
    Affects Versions: 2.1
            Reporter: Igor Fedorenko


Invoking readProjectWithDependencies for all modules takes very long time for some projects. For example, for servicemix-3.2.1 it takes about ~300 seconds in online mode and ~90 seconds. I ran the code under profiler, and it seems that in online mode this project is hit by  MNG-3531. Both in online and offline mode, however, significant time is spent in DefaultBuildExtensionScanner.scanInternal(File, MavenExecutionRequest, List, List, boolean), so I wonder if there is a way to cache extensions somehow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3543) readProjectWithDependencies take very long time for some projects

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3543:
------------------------------

    Fix Version/s:     (was: 3.0)
                   3.0-alpha-3

> readProjectWithDependencies take very long time for some projects
> -----------------------------------------------------------------
>
>                 Key: MNG-3543
>                 URL: http://jira.codehaus.org/browse/MNG-3543
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Performance
>    Affects Versions: 3.0
>            Reporter: Igor Fedorenko
>            Assignee: Jason van Zyl
>             Fix For: 3.0-alpha-3
>
>
> Invoking readProjectWithDependencies for all modules takes very long time for some projects. For example, for servicemix-3.2.1 it takes about ~300 seconds in online mode and ~90 seconds. I ran the code under profiler, and it seems that in online mode this project is hit by  MNG-3531. Both in online and offline mode, however, significant time is spent in DefaultBuildExtensionScanner.scanInternal(File, MavenExecutionRequest, List, List, boolean), so I wonder if there is a way to cache extensions somehow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-3543) readProjectWithDependencies take very long time for some projects

Posted by "Igor Fedorenko (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Fedorenko closed MNG-3543.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.x)
                   3.0

I do not see this problem in the recent 3.0 snapshots. There are also automated performance regression running here https://grid.sonatype.org/maven-perf-ci/job/maven-performance-tests/ , so I think all is good or at least under control now.

> readProjectWithDependencies take very long time for some projects
> -----------------------------------------------------------------
>
>                 Key: MNG-3543
>                 URL: http://jira.codehaus.org/browse/MNG-3543
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Performance
>    Affects Versions: 3.0
>            Reporter: Igor Fedorenko
>            Assignee: Jason van Zyl
>             Fix For: 3.0
>
>
> Invoking readProjectWithDependencies for all modules takes very long time for some projects. For example, for servicemix-3.2.1 it takes about ~300 seconds in online mode and ~90 seconds. I ran the code under profiler, and it seems that in online mode this project is hit by  MNG-3531. Both in online and offline mode, however, significant time is spent in DefaultBuildExtensionScanner.scanInternal(File, MavenExecutionRequest, List, List, boolean), so I wonder if there is a way to cache extensions somehow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3543) readProjectWithDependencies take very long time for some projects

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3543:
------------------------------

    Fix Version/s: 2.1

how does it compare to CLI use of 2.0.9? could it be considered a regression?

> readProjectWithDependencies take very long time for some projects
> -----------------------------------------------------------------
>
>                 Key: MNG-3543
>                 URL: http://jira.codehaus.org/browse/MNG-3543
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Performance
>    Affects Versions: 2.1
>            Reporter: Igor Fedorenko
>            Assignee: Jason van Zyl
>             Fix For: 2.1
>
>
> Invoking readProjectWithDependencies for all modules takes very long time for some projects. For example, for servicemix-3.2.1 it takes about ~300 seconds in online mode and ~90 seconds. I ran the code under profiler, and it seems that in online mode this project is hit by  MNG-3531. Both in online and offline mode, however, significant time is spent in DefaultBuildExtensionScanner.scanInternal(File, MavenExecutionRequest, List, List, boolean), so I wonder if there is a way to cache extensions somehow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira