• warnings-ng 2.0.0, analysis-model-api 2.0.0

      Plugin hangs up parsing Maven warnings, attached log at which plugin hangs up.

          [JENKINS-25278] Plugin slow parsing Maven warnings

          Ulli Hafner added a comment -

          The current implementation is quite inefficient for files with a large set of warnings (50k). It took me more than 10 minutes to get the file parsed.

          Ulli Hafner added a comment - The current implementation is quite inefficient for files with a large set of warnings (50k). It took me more than 10 minutes to get the file parsed.

          Thanks for indicating this. I was running Jenkins in a VM and gived up after 15 minutes.

          Borzh Borzhovich added a comment - Thanks for indicating this. I was running Jenkins in a VM and gived up after 15 minutes.

          Plugin doesn't hang up, it just has slow parsing.

          Borzh Borzhovich added a comment - Plugin doesn't hang up, it just has slow parsing.

          Ulli Hafner added a comment - - edited

          I think it is worth considering to improve this naive algorithm. I'm reducing priority because I don't have spare time in the near future to fix it...

          Ulli Hafner added a comment - - edited I think it is worth considering to improve this naive algorithm. I'm reducing priority because I don't have spare time in the near future to fix it...

          All right, thanks and keep up the good work!

          Borzh Borzhovich added a comment - All right, thanks and keep up the good work!

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/parser/MavenConsoleParser.java
          src/main/java/hudson/plugins/warnings/parser/Warning.java
          http://jenkins-ci.org/commit/warnings-plugin/d76a266d351fc98fed5ef7f62e2d72b1f88689f5
          Log:
          Merge pull request #47 from alecharp/hotfix/maven-log-creates-oom-error

          JENKINS-25278 Improve performance of maven parser.

          Compare: https://github.com/jenkinsci/warnings-plugin/compare/9cd57758c307...d76a266d351f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/parser/MavenConsoleParser.java src/main/java/hudson/plugins/warnings/parser/Warning.java http://jenkins-ci.org/commit/warnings-plugin/d76a266d351fc98fed5ef7f62e2d72b1f88689f5 Log: Merge pull request #47 from alecharp/hotfix/maven-log-creates-oom-error JENKINS-25278 Improve performance of maven parser. Compare: https://github.com/jenkinsci/warnings-plugin/compare/9cd57758c307...d76a266d351f

          All right you can close this bug now, confirmed to work much better with new update. Thanks.

          Borzh Borzhovich added a comment - All right you can close this bug now, confirmed to work much better with new update. Thanks.

            Unassigned Unassigned
            borzh Borzh Borzhovich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: