vscode-openshift-tools icon indicating copy to clipboard operation
vscode-openshift-tools copied to clipboard

`await ComponentTypesView.instance.getAllComponents();` takes a long time on Windows

Open datho7561 opened this issue 1 year ago • 1 comments

In extension.ts, we call await ComponentTypesView.instance.getAllComponents();. On Windows, this call takes a long time (much worse than on Linux), usually over a minute for me. Since this blocks the extension starting, the OpenShift sidebar is stuck loading for a while.

We should look into improving the performance of this command, and consider deferring it until after the extension has started, if possible.

datho7561 avatar Jul 20 '23 15:07 datho7561