Richard Atkins created MRESOLVER-68:
---------------------------------------

             Summary: Add caching around File.getCanonicalPath
                 Key: MRESOLVER-68
                 URL: https://issues.apache.org/jira/browse/MRESOLVER-68
             Project: Maven Resolver
          Issue Type: Improvement
          Components: resolver
            Reporter: Richard Atkins


Maven Resolver spends a lot of time calculating the canonical path for a File, 
and subsequently interning the result, in order to generate an in memory lock 
object for the File. This can add up to 50% or more of the time in a build, 
especially when using maven-enforcer-plugin with the bannedDependencies rule 
with searchTransitive true.

Caching these lookups will reduce build times, even for well behaved plugins.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to