maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Renaud (JIRA)" <>
Subject [jira] Created: (MAVEN-1786) Performance Optimization of the Reactor
Date Thu, 31 Aug 2006 08:49:48 GMT
Performance Optimization of the Reactor

                 Key: MAVEN-1786
             Project: Maven
          Issue Type: Improvement
    Affects Versions: 1.1-beta-2
         Environment: OS windows xp, JVM sun 1.4.2
            Reporter: Emmanuel Renaud
         Attachments:, reactor-jprofiler.GIF

The Goal.checkForCycle method is a hotspot as the reactor starts. 
Most of the time is spent in creating HashSets and filling them (see attached screen shot).

Instead of creating a new HasSet each time, reusing the same improves the performance of dependency
analysis (see attached file 

Due to security policy in my company I can't checkout the sources and run non-regression tests,
at least it works fine on our project.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message