![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Unassigned |
Components:
|
core |
Created:
|
10/Dec/14 1:36 AM
|
Description:
|
On job pages (http://<jenkins>.com/job/<job name>) that have large build queues, the page loads and handles extremely slow. I have observed this on a machine with 16GB RAM and pretty hefty CPU and reproduced in all major browsers. On Chrome, the task manager shows a consistent > 100% CPU usage on the tab that has the page open.
I have verified that the issue has nothing to do with loading assets from the server. A quick profile [1] of the code execution showed that lots of time is spent in functions "getclientWidth" and "getClientHeight". Looks like these are getting called from "getElementOverflowParams()" in hudson-behavior.js. I believe this is a problem resulting from commit cb9036 [2] from 15 days ago, "Single/Multiline Build History", wherein this code is introduced.
The problem seems to be that there are way too many event handlers listening to window resize events. This is causing the page to essentially hang and be unusable.
[1] http://i.imgur.com/Rr29SnU.png
[2] https://github.com/jenkinsci/jenkins/commit/cb9036c45527223525cc1b48020a8ed777020c1a
|
Project:
|
Jenkins
|
Labels:
|
performance
|
Priority:
|
Major
|
Reporter:
|
Ryan Hsu
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.