• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Jenkins 1.459, Oracle JDK 1.7, Windows XP

      In "Manage Jenkins", the plugin manager (aka update center) is rather slow. Slow is about 3 to 6 seconds on my windows laptop.
      The http requests of the plugin manager are mostly the slowest of all, as can be seen in the joined screenshot of the monitoring plugin.
      The screenshot also shows that those http requests have a high cpu usage.

      The cause of the issue is that for each plugin, the UpdateSite.getPlugin(String) and getData() methods read and parse all the plugins data from the "updates/default.json" file each time.
      So the more plugins are available, the slower it is.

      I will submit a pull request.

          [JENKINS-13454] Optimize the plugin manager

          evernat created issue -
          evernat made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Stephen Connolly made changes -
          Link New: This issue is related to JENKINS-15889 [ JENKINS-15889 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: update-center [ 15629 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 143920 ] New: JNJira + In-Review [ 190815 ]

            evernat evernat
            evernat evernat
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: