Performance Optimization of the Reactor ---------------------------------------
Key: MAVEN-1786 URL: http://jira.codehaus.org/browse/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: Goal.java, 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 Goal.java). 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: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira