You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Falko Modler (Jira)" <ji...@apache.org> on 2019/09/01 17:26:00 UTC

[jira] [Comment Edited] (MENFORCER-271) Dependency convergence rule is very slow in larger projects

    [ https://issues.apache.org/jira/browse/MENFORCER-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920468#comment-16920468 ] 

Falko Modler edited comment on MENFORCER-271 at 9/1/19 5:25 PM:
----------------------------------------------------------------

New numbers:
- Maven 3.6.1: ~10s
- Maven 3.6.2: ~7s


was (Author: famod):
New numbers:
- 3.6.1: ~10s
- 3.6.2: ~7s

> Dependency convergence rule is very slow in larger projects
> -----------------------------------------------------------
>
>                 Key: MENFORCER-271
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-271
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>          Components: Standard Rules
>    Affects Versions: 1.4.1
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Maven home: C:\Program Files\apache-maven-3.3.9
> Java version: 1.8.0_102, vendor: Oracle Corporation
> Java home: C:\Develop\jdk1.8.0_102\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
>            Reporter: Falko Modler
>            Priority: Major
>         Attachments: visualvm.PNG, visualvm_settings.PNG
>
>
> I noticed that DependencyConvergence can take up to 10 seconds or even more in modules with almost 300 direct and transitive dependencies (reported by {{dependency:tree}}).
> These modules are part of a JEE project based on JBoss EAP 6.4 which imports a couple of EAP BOMs. Unfortunately I am not allowed to share this project.
> I profiled the rule via VisualVM and these are the top 5 hotspots:
> !visualvm.PNG!
> The number of {{parseVersion}} calls seems excessive.
> See attached {{visualvm_settings.xml}} for reference.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)