[ https://issues.apache.org/jira/browse/RAT-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805012#comment-17805012 ]
Claude Warren commented on RAT-325: ----------------------------------- I think the SPDX is slow because is it does a regex on every line (only 1 even if there are multiple SPDX targets). However I think this can be sped up even further by adding a string check to see if "SPDX" appears in the line first. The same is also true for the Copyright checks. > Performance degradation compared to 0.15 > ---------------------------------------- > > Key: RAT-325 > URL: https://issues.apache.org/jira/browse/RAT-325 > Project: Apache Rat > Issue Type: Bug > Components: cli > Affects Versions: 0.16 > Reporter: Jean-Baptiste Onofré > Assignee: Jean-Baptiste Onofré > Priority: Major > Fix For: 0.17 > > > While testing 0.16-SNAPSHOT, I identified rat is much longer to execute than > with 0.15. > I'm investigating why. -- This message was sent by Atlassian Jira (v8.20.10#820010)