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

Job folder loading performance scalability

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None

      I have a tree-like structure job layout as below:

      "Projects" Cloudbees folder contains 34 subproject folder
        subproject: "Project-A" Cloudbees folder contains 6 branch folders ( 5 multibranch job folder and 1 cloudbees folder )
          multibranch-job1 contains 295 matrix jobs (75 x 2 matrix combination)
          multibranch-job2 contains 317 matrix jobs (75 x 2 matrix combination)
          multibranch-job3 contains 189 matrix jobs (75 x 2 matrix combination)
          multibranch-job4 contains 15 matrix jobs (75 x 2 matrix combination)
          multibranch-job5 contains 5 matrix jobs (75 x 2 matrix combination)
          Cloudbees folder contains 4 matrix jobs (75 x 2 matrix combination)
        subproject: Project-B Cloudbees folder ....
          multibranch-job1 ...
          ... ...
        ... ... ...

      I found somehow no matter what kind of authorization strategy I choose,
      it's always taking longer time
      to open "Project-A" cloudbees folder (contains 6 items)
      than "Projects" folder (contains 34 items).

      Below is my benchmark:

        Chrome Chrome Firefox Firefox
      Authorization Method Open Projects Folder Open Project-A Folder Open Projects Folder Open Project-A Folder
      Anyone can do anything 2.10 sec 8.43 sec 5.99 sec 17.05 sec
      Logged-in users can do anything 3.97 sec 9.94 sec 7.97 sec 20.06 sec
      Initial default Role-based configuration - admin role 8.22 sec 14.54 sec 16.47 sec 28.55 sec
      Role-based configuration - admin role with 119 Project roles 18.81 sec 31.95 sec 37.7 sec 65

      I'm expecting it should be faster to open "Project-A" folder because it needs to process permission and load only 6 items,
      and slower to open "Projects" folder because it needs to process permissions and load for 34 items.

        1. jenkins_open_AC_folder_Current_Thread.log
          172 kB
          Rick Liu
        2. jenkins_open_AC_folder.log.tgz
          2.01 MB
          Rick Liu
        3. jenkins-open-folder.tar.gz
          9.54 MB
          Rick Liu
        4. jenkins-startup.log.gz
          487 kB
          Rick Liu
        5. jenkins-startup.tar.gz
          4.39 MB
          Rick Liu
        6. jenkins-startup-repeat01-0627.log
          5.47 MB
          Rick Liu
        7. jenkins-startup-repeat02-0628.log
          2.74 MB
          Rick Liu
        8. jenkins-startup-repeat03-0629.log
          2.74 MB
          Rick Liu
        9. jenkins-startup-repeat04-0630.log
          2.74 MB
          Rick Liu
        10. jenkins-startup-repeat05-0631.log
          2.74 MB
          Rick Liu

            Unassigned Unassigned
            totoroliu Rick Liu
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: