You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complex pipeline with ~2 dozen jobs and many resources. The UI is nearly unresponsive and the Chrome task manager says the tab is using 80-100% of the CPU.
Yep but that only happens once every 5 seconds or so for about 500ms or so. This admitedly still isn't great but we don't think it's the main cause of the constantly high CPU usage. We're suspecting some machines and browsers don't offload the build animations onto the GPU and instead peg the CPU.
Have you tried this with a pipeline with ~200-300 resources and build steps? It's easily spending over 4 seconds out of a 5 second cycle in that function alone.
One more piece of data that may help: On our iMac running Yosemite, the Chrome tab has ~100% CPU usage, while the same view in Safari is ~50%. The Chrome tab hung regularly and was difficult to navigate, while the Safari tab was mostly smooth with short freezes about every 6 seconds.
Potentially reopening this. Concourse version: v2.4.0 macbook pro. Chrome task manager indicates the tab is using 25% of CPU when tests are running and 15% when the tests are not. Using Brave Browser doesn't seem to help much.
@sbkg0002 we're always looking at ways to improve the web experience. That said, the Concourse team is looking at redesigning the pipeline view without SVG graphics to make it more efficient. This is a work in progress so look forward to seeing new designs in our issue tracker very soon!
Activity
concourse-bot commentedon Feb 3, 2016
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
locallycompact commentedon Feb 4, 2016
A browser profile reveals that on large pipelines its spends 85% of the CPU time in EdgeTarget.prototype.rankOfFirstAppearance (https://github.com/concourse/atc/blob/master/web/public/graph.js#L849), that seems to happen a lot. Is this recomputing the build graph?
xoebus commentedon Feb 4, 2016
Yep but that only happens once every 5 seconds or so for about 500ms or so. This admitedly still isn't great but we don't think it's the main cause of the constantly high CPU usage. We're suspecting some machines and browsers don't offload the build animations onto the GPU and instead peg the CPU.
:webdevelopment:
locallycompact commentedon Feb 4, 2016
Have you tried this with a pipeline with ~200-300 resources and build steps? It's easily spending over 4 seconds out of a 5 second cycle in that function alone.
xoebus commentedon Feb 4, 2016
Nope, never one that big but we have seen constant 90% CPU usage on a small pipeline that can compute that quickly.
The layout might be cacheable if the pipeline hasn't structurally changed.
matt-royal commentedon Feb 18, 2016
One more piece of data that may help: On our iMac running Yosemite, the Chrome tab has ~100% CPU usage, while the same view in Safari is ~50%. The Chrome tab hung regularly and was difficult to navigate, while the Safari tab was mostly smooth with short freezes about every 6 seconds.
concourse-bot commentedon Feb 18, 2016
Hello again!
All stories related to this issue have been accepted, so I'm going to automatically close this issue.
At the time of writing, the following stories have been accepted:
If you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!
Eulerizeit commentedon Nov 17, 2016
Potentially reopening this. Concourse version: v2.4.0 macbook pro. Chrome task manager indicates the tab is using 25% of CPU when tests are running and 15% when the tests are not. Using Brave Browser doesn't seem to help much.
Attempted to use https://concourse-summary-crystal.cfapps.io/ thinking it might be the SVG rendering. This managed to reduce the use to 11% which still seems high.
sbkg0002 commentedon Sep 26, 2017
Any news on this? Even on i5 6xxx series machines with 16GB RAM, opening a pipeline takes ~25% CPU.
jama22 commentedon Sep 26, 2017
@sbkg0002 we're always looking at ways to improve the web experience. That said, the Concourse team is looking at redesigning the pipeline view without SVG graphics to make it more efficient. This is a work in progress so look forward to seeing new designs in our issue tracker very soon!
sbkg0002 commentedon Sep 27, 2017
Thanks @jama-pivotal good to hear it is on the radar 👍
bump atc