Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12223

Warnings trend graph (type distribution) dashboard portlet is very slow to display when # jobs in view > 12 or so

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Is it possible that the data can be cached (in the dashboard view) to be reused (and refreshed in the background as needed) rather than starting from scratch each time.

      While waiting for portlet to finish, view controls in other portlets (e.g. sorts) are not available.

        Attachments

          Issue Links

            Activity

            moncreaff Greg Moncreaff created issue -
            drulli Ulli Hafner made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-8721 [ JENKINS-8721 ]
            Hide
            drulli Ulli Hafner added a comment - - edited

            The actions that are used to render this graph don't have all values in the serialized representation. These values are computed on the fly after reading all the serialized warnings of each build. which is too slow.

            I don't think that it will be possible to improve the performance of existing jobs. I think a possible change will affect only new jobs (or new builds).

            Show
            drulli Ulli Hafner added a comment - - edited The actions that are used to render this graph don't have all values in the serialized representation. These values are computed on the fly after reading all the serialized warnings of each build. which is too slow. I don't think that it will be possible to improve the performance of existing jobs. I think a possible change will affect only new jobs (or new builds).
            drulli Ulli Hafner made changes -
            Link This issue is blocking JENKINS-12309 [ JENKINS-12309 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/analysis/collector/AnalysisResult.java
            http://jenkins-ci.org/commit/analysis-collector-plugin/3a7d4f70556cfed095b9a903c74710c41457e84c
            Log:
            [FIXED JENKINS-12223] [FIXED JENKINS-12309] Serialize distribution of
            warnings in build action.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/collector/AnalysisResult.java http://jenkins-ci.org/commit/analysis-collector-plugin/3a7d4f70556cfed095b9a903c74710c41457e84c Log: [FIXED JENKINS-12223] [FIXED JENKINS-12309] Serialize distribution of warnings in build action.
            Hide
            dogfood dogfood added a comment -

            Integrated in plugins_analysis-collector #317
            [FIXED JENKINS-12223] [FIXED JENKINS-12309] Serialize distribution of (Revision 3a7d4f70556cfed095b9a903c74710c41457e84c)

            Result = SUCCESS
            Ulli Hafner :
            Files :

            • src/main/java/hudson/plugins/analysis/collector/AnalysisResult.java
            Show
            dogfood dogfood added a comment - Integrated in plugins_analysis-collector #317 [FIXED JENKINS-12223] [FIXED JENKINS-12309] Serialize distribution of (Revision 3a7d4f70556cfed095b9a903c74710c41457e84c) Result = SUCCESS Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/collector/AnalysisResult.java
            drulli Ulli Hafner made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            Hide
            moncreaff Greg Moncreaff added a comment -

            Its incredibly faster now!

            I had a dashboard with a couple hundred jobs and the warning trend by type, it used to take many minutes to load and now its no more that a couple of seconds!

            Excellent work!

            Show
            moncreaff Greg Moncreaff added a comment - Its incredibly faster now! I had a dashboard with a couple hundred jobs and the warning trend by type, it used to take many minutes to load and now its no more that a couple of seconds! Excellent work!
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 142545 ] JNJira + In-Review [ 190158 ]

              People

              Assignee:
              drulli Ulli Hafner
              Reporter:
              moncreaff Greg Moncreaff
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: