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

Falko Modler edited comment on MENFORCER-271 at 1/31/19 9:14 PM:
-----------------------------------------------------------------

{quote}
Has there been any additional work or investigation regarding this issue?
{quote}
Not really. I just noticed that my example module is much faster with Maven 
3.6.0 (~14s) that 3.3.9 (~20s), same Enforcer version (3.something).
That's better but still way too slow.
For now I ended up with a dedicated plugin execution just with 
{{DependencyConvergence}} that can be skipped individually. Far from ideal and 
certainly not a permanent solution but it eases the pain a bit...

{quote}
My team thinks it's an important issue, and may be able to contribute work 
towards it. 
{quote}
Any help is appreciated!


was (Author: famod):
{quote}
Has there been any additional work or investigation regarding this issue?
{quote}
Not really. I just noticed that my example module is much faster with Maven 
3.6.0 (~14s) that 3.3.9 (~20s), same Enforcer version (3.something).
That's better but still way too slow.
For now I ended up with a dedicated plugin execution that can be skipped 
individually. Far from ideal and certainly not a permanent solution but it 
eases the pain a bit...

{quote}
My team thinks it's an important issue, and may be able to contribute work 
towards it. 
{quote}
Any help is appreciated!

> 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
(v7.6.3#76005)

Reply via email to