You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (Jira)" <ji...@apache.org> on 2020/09/21 13:33:00 UTC

[jira] [Comment Edited] (YETUS-996) Checkstyle output processing is very slow for big files

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

Allen Wittenauer edited comment on YETUS-996 at 9/21/20, 1:32 PM:
------------------------------------------------------------------

Linking YETUS-946.  There have been two major Checkstyle versions released since the code was originally written. There is a very high probability that a lot of the extra processing is no longer needed.  But someone needs to sit down and run through it.


was (Author: aw):
Linking YETUS-946.  There have been two major Checkstyle versions released since the code was originally written and there is a very high probability that it is no longer needed.  But someone needs to sit down and run through it.

> 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
>            Priority: Major
>
> 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)