You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard Atkins (JIRA)" <ji...@apache.org> on 2019/03/08 07:31:00 UTC
[jira] [Created] (MRESOLVER-68) Add caching around
File.getCanonicalPath
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)