• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • pacific, atlantic, 1.0-b05/b-06

      Search API (page limit 26)

      • Took 7 sec on average (in other cases, 12seconds for 11kb of data - from bwalding)
      • To address sorting by name and exclude certain items from flattening all possible items are loaded in memory
        • jenkins.getAllItems()
        • Exclude items that are children of multi-branch and matrix project
        • Don’t see how we can avoid it unless the jobs are stored in some kind of db with indexed column to speed up sorting and only give limited records instead of all
      • new PipelineContainerImpl().getPipelines(items) should be pagination aware
      • At present it creates BluePipeline object for all possible items (ouch!)

      Also: check that runs/activity benefits from same pagination aware optimisation

          [JENKINS-38335] Search API too slow for dashboard

          Michael Neale created issue -
          Michael Neale made changes -
          Link New: This issue relates to JENKINS-38087 [ JENKINS-38087 ]
          Michael Neale made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          Michael Neale made changes -
          Link New: This issue blocks JENKINS-38079 [ JENKINS-38079 ]
          Michael Neale made changes -
          Description Original: *Search API (page limit 26)*
          * Took 7 sec on average
          * To address sorting by name and exclude certain items from flattening all possible items are loaded in memory
          * jenkins.getAllItems()
          * Exclude items that are children of multi-branch and matrix project
          * Don’t see how we can avoid it unless the jobs are stored in some kind of db with indexed column to speed up sorting and only give limited records instead of all
          * new PipelineContainerImpl().getPipelines(items) should be pagination aware
          * At present it creates BluePipeline object for all possible items (ouch!)
          New: *Search API (page limit 26)*
          * Took 7 sec on average
          * To address sorting by name and exclude certain items from flattening all possible items are loaded in memory
          ** jenkins.getAllItems()
          ** Exclude items that are children of multi-branch and matrix project
          ** Don’t see how we can avoid it unless the jobs are stored in some kind of db with indexed column to speed up sorting and only give limited records instead of all
          * new PipelineContainerImpl().getPipelines(items) should be pagination aware
          * At present it creates BluePipeline object for all possible items (ouch!)
          Michael Neale made changes -
          Sprint New: 1.0-b05/b-06 [ 111 ]
          Michael Neale made changes -
          Description Original: *Search API (page limit 26)*
          * Took 7 sec on average
          * To address sorting by name and exclude certain items from flattening all possible items are loaded in memory
          ** jenkins.getAllItems()
          ** Exclude items that are children of multi-branch and matrix project
          ** Don’t see how we can avoid it unless the jobs are stored in some kind of db with indexed column to speed up sorting and only give limited records instead of all
          * new PipelineContainerImpl().getPipelines(items) should be pagination aware
          * At present it creates BluePipeline object for all possible items (ouch!)
          New: *Search API (page limit 26)*
          * Took 7 sec on average (in other cases, 12seconds for 11kb of data - from [~bwalding])
          * To address sorting by name and exclude certain items from flattening all possible items are loaded in memory
          ** jenkins.getAllItems()
          ** Exclude items that are children of multi-branch and matrix project
          ** Don’t see how we can avoid it unless the jobs are stored in some kind of db with indexed column to speed up sorting and only give limited records instead of all
          * new PipelineContainerImpl().getPipelines(items) should be pagination aware
          * At present it creates BluePipeline object for all possible items (ouch!)
          James Dumay made changes -
          Assignee New: Vivek Pandey [ vivek ]
          James Dumay made changes -
          Rank New: Ranked higher
          Vivek Pandey made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Michael Neale made changes -
          Description Original: *Search API (page limit 26)*
          * Took 7 sec on average (in other cases, 12seconds for 11kb of data - from [~bwalding])
          * To address sorting by name and exclude certain items from flattening all possible items are loaded in memory
          ** jenkins.getAllItems()
          ** Exclude items that are children of multi-branch and matrix project
          ** Don’t see how we can avoid it unless the jobs are stored in some kind of db with indexed column to speed up sorting and only give limited records instead of all
          * new PipelineContainerImpl().getPipelines(items) should be pagination aware
          * At present it creates BluePipeline object for all possible items (ouch!)
          New: *Search API (page limit 26)*
          * Took 7 sec on average (in other cases, 12seconds for 11kb of data - from [~bwalding])
          * To address sorting by name and exclude certain items from flattening all possible items are loaded in memory
          ** jenkins.getAllItems()
          ** Exclude items that are children of multi-branch and matrix project
          ** Don’t see how we can avoid it unless the jobs are stored in some kind of db with indexed column to speed up sorting and only give limited records instead of all
          * new PipelineContainerImpl().getPipelines(items) should be pagination aware
          * At present it creates BluePipeline object for all possible items (ouch!)

          Also: check that runs/activity benefits from same pagination aware optimisation

            vivek Vivek Pandey
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: