You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/04/27 17:12:00 UTC

[jira] [Commented] (MNG-6631) DefaultArtifactVersion.parseVersion is inefficient

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

Hudson commented on MNG-6631:
-----------------------------

Build succeeded in Jenkins: Maven TLP » maven » master #201

See https://builds.apache.org/job/maven-box/job/maven/job/master/201/

> DefaultArtifactVersion.parseVersion is inefficient
> --------------------------------------------------
>
>                 Key: MNG-6631
>                 URL: https://issues.apache.org/jira/browse/MNG-6631
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.0
>            Reporter: Stefan Oehme
>            Priority: Major
>
> I'm currently optimizing a very large (2000+ submodule) project. DefaultArtifactVersion.parseVersion is one of the CPU/memory hotspots, because it uses exceptions for control flow. Using if-statements instead would be much faster.
> See [https://github.com/apache/maven/pull/242]



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