Istvan Toth created YETUS-996:
---------------------------------

             Summary: Checkstyle output processing is very slow for big files
                 Key: YETUS-996
                 URL: https://issues.apache.org/jira/browse/YETUS-996
             Project: Yetus
          Issue Type: Bug
          Components: Precommit
    Affects Versions: 0.12.0
            Reporter: Istvan Toth


The checkstyle output postprocessing is very slow when there are a lot of 
changed files.

My run generates a 26MB raw output, while the yetus processed file is 12MB.

I suspect that the append operation in the following line gets slower as the 
file gets bigger, but I lack the bash expertise to tell if/how the filtering 
can be improved:

https://github.com/apache/yetus/blob/3b2ba2b1895244af235d21a7b6f855f5b423bc59/precommit/src/main/shell/test-patch.d/checkstyle.sh#L321

 

 



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

Reply via email to