ListView has problems with performance because it asks for all jobs while figuring out what jobs it contains. The reason we should care - it always asks for ACL. In our project we use RBAC plugin, we also have 3000 jobs in Jenkins which together kills the performance.

      Details:

      • ListView#202 here it asks for all items to find those that match the regexp pattern
      • ListView#171 again asks for all jobs just to get Items from Job Names
      • ListView#181 and again asks for all jobs for the sake of filtering.

      Solution:

      • ListView should get the list of items once and reuse it in all subsequent situation.
      • Instead of building a list of Job Names it's better to build a list of Items in ListView#202

          [JENKINS-18721] ListView asks for all jobs too often

          Stanislav Bashkyrtsev created issue -
          Stanislav Bashkyrtsev made changes -
          Priority Original: Critical [ 2 ] New: Major [ 3 ]
          Joe Zeldin made changes -
          Link New: This issue is related to JENKINS-18377 [ JENKINS-18377 ]
          Daniel Beck made changes -
          Labels Original: performance New: lts-candidate performance
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-20052 [ JENKINS-20052 ]
          Oliver Gondža made changes -
          Labels Original: lts-candidate performance New: 1.509.4-rejected performance
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150069 ] New: JNJira + In-Review [ 193409 ]

            Unassigned Unassigned
            ctapobep Stanislav Bashkyrtsev
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: