[ 
https://issues.apache.org/jira/browse/MRESOLVER-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MRESOLVER-68.
-----------------------------------
    Resolution: Won't Fix

> 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to