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

Optimize creation of relative links to jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Functions.getRelativeLinkTo(Item p) is called quite liberally while rendering Views. It calls view.getItems() which means recalculating the jobs to display. This can lead to performance problems for complex views (e.g. with the view-jobs-filter plugin).

      One idea is to cache the result from ListView.getItems(). Kohsuke created an initial branch for this:
      https://github.com/jenkinsci/jenkins/commits/view-caching

        Attachments

          Issue Links

            Activity

            ericweikl Eric Weikl created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Labels performance
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-20052 [ JENKINS-20052 ]
            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 -
            Labels performance lts-candidate performance
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            danielbeck Daniel Beck made changes -
            Issue Type Improvement [ 4 ] Bug [ 1 ]
            Labels lts-candidate performance lts-candidate performance regression
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-19671 [ JENKINS-19671 ]
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate performance regression 1.554.2-fixed performance regression
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-19750 [ JENKINS-19750 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-19553 [ JENKINS-19553 ]
            pdr Pete Ryland made changes -
            Link This issue is related to JENKINS-23096 [ JENKINS-23096 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 149671 ] JNJira + In-Review [ 193235 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                ericweikl Eric Weikl
              • Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: