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

Hudson commented on MNG-6629:
-----------------------------

Build failed in Jenkins: Maven TLP » maven-studies » maven-metrics #4

See 
https://builds.apache.org/job/maven-box/job/maven-studies/job/maven-metrics/4/

> DefaultModelValidator.validateId is inefficient
> -----------------------------------------------
>
>                 Key: MNG-6629
>                 URL: https://issues.apache.org/jira/browse/MNG-6629
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.0
>            Reporter: Stefan Oehme
>            Assignee: Herve Boutemy
>            Priority: Major
>             Fix For: 3.6.2
>
>
>  
> I'm currently optimizing a very large (2000+ submodule) project. 
> DefaultModelValidator.validateId is one of the CPU hotspots, as it uses a 
> regex for validating every ID in the model. Iterating over the characters and 
> checking them against valid ranges would be faster and less memory intensive.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to