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

Optimize creation of relative links to jobs

XMLWordPrintable

      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

            jglick Jesse Glick
            ericweikl Eric Weikl
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: