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

Search API too slow for dashboard

    Details

    • Similar Issues:
    • Epic Link:
    • Sprint:
      pacific, atlantic, 1.0-b05/b-06

      Description

      Search API (page limit 26)

      • Took 7 sec on average (in other cases, 12seconds for 11kb of data - from Ben Walding)
      • 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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: