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

/{view,computer,user}/*/builds & /job/*/buildTimeTrend block HTTP response on build record loading

    Details

    • Similar Issues:

      Description

      Computer/builds.jelly calls Computer.getBuilds which first looks up all Job instances—probably not too expensive—then creates a merged RunList from them—again OK, as this is lazy—then calls the node(Node) filter. The filter is incremental, but if most builds were not on this computer, it would load many more than the limit of 50 in t:buildListTable before it finds some to display.

      Trimming the merged list before filtering would solve that problem (making this perform much like View/builds.jelly), but then you might not see anywhere near 50 builds, or indeed any at all, even when there are some (older) builds run on this computer.

      User/builds.jelly calls User.getBuilds which does not even bother using an incremental filter. It does use newBuilds to limit how many builds are considered per job, but then scans all of those at once for mentions of the current user.

      Ideally all such displays would show all applicable builds, but use ProgressiveRendering so that build records are only loaded in a background thread and only so long as you keep the page open. (Compare AsynchPeople.)

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Summary /computer/*/builds and /user/*/builds block HTTP response on build record loading /{view,computer,user}/*/builds block HTTP response on build record loading
            Priority Major [ 3 ] Critical [ 2 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-18992 [ JENKINS-18992 ]
            jglick Jesse Glick made changes -
            Summary /{view,computer,user}/*/builds block HTTP response on build record loading /{view,computer,user}/*/builds & /job/*/buildTimeTrend block HTTP response on build record loading
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            domi Dominik Bartholdi made changes -
            Link This issue is related to JENKINS-21159 [ JENKINS-21159 ]
            danielbeck Daniel Beck made changes -
            Labels lazy-loading performance lazy-loading lts-candidate performance
            olivergondza Oliver Gondža made changes -
            Labels lazy-loading lts-candidate performance 1.532.3-fixed lazy-loading performance
            domi Dominik Bartholdi made changes -
            Link This issue is blocking JENKINS-22008 [ JENKINS-22008 ]
            domi Dominik Bartholdi made changes -
            Link This issue is blocking JENKINS-22008 [ JENKINS-22008 ]
            domi Dominik Bartholdi made changes -
            Link This issue depends on JENKINS-22008 [ JENKINS-22008 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-18065 [ JENKINS-18065 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-23945 [ JENKINS-23945 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-21437 [ JENKINS-21437 ]
            samxiao Sam Xiao made changes -
            Labels 1.532.3-fixed lazy-loading performance 1.532.3-fixed lazy-loading lts-candidate performance
            samxiao Sam Xiao made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            jglick Jesse Glick made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jglick Jesse Glick made changes -
            Labels 1.532.3-fixed lazy-loading lts-candidate performance 1.532.3-fixed lts-candidate performance
            jglick Jesse Glick made changes -
            Labels 1.532.3-fixed lts-candidate performance 1.532.3-fixed lazy-loading performance
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 152703 ] JNJira + In-Review [ 194325 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: