[
https://issues.jenkins-ci.org/browse/JENKINS-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161664#comment-161664
]
dogfood commented on JENKINS-13454:
-----------------------------------
Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png!
[jenkins_main_trunk #1665|http://ci.jenkins-ci.org/job/jenkins_main_trunk/1665/]
[FIXED JENKINS-13454] Optimize the plugin manager (Revision
e465f7202e42b0cb196e98c2e21abedcb85e60d4)
Result = SUCCESS
unknown :
[e465f7202e42b0cb196e98c2e21abedcb85e60d4|https://github.com/jenkinsci/jenkins/commit/e465f7202e42b0cb196e98c2e21abedcb85e60d4]
Files :
* core/src/main/java/hudson/model/UpdateSite.java
> Optimize the plugin manager
> ---------------------------
>
> Key: JENKINS-13454
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13454
> Project: Jenkins
> Issue Type: Improvement
> Components: update-center
> Environment: Jenkins 1.459, Oracle JDK 1.7, Windows XP
> Reporter: evernat
> Assignee: evernat
> Attachments: monitoring.png
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira