rancher / dashboard

The Rancher UI

Home Page:https://rancher.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'View YAML' for an installed app for monitoring really slow

nwmac opened this issue · comments

Install monitoring.

Go to Apps -> Installed Apps -> 'rancher-monitoring -> View YAML

The page will hang the browser for a long time and will either crash the tab or will eventually load.

During this time, the tab is completely unresponsive.

Looking at the performance log it looks like Vue is re-rendering the codemirror component. That could be some kind of reactionary change (we're providing churn to a value we pass to it) or an issue with code mirror itself (though i don't think we've bumped the version in 2.9.0).

image

I attempted to pinpoint a commit that might have introduced this performance regression, but I'm unable to reproduce while using v2.9-head aacda46. At least there's no noticeable delay or crashing in Firefox 127.0b8.