redhat-developer / redhat-developer/vscode-openshift-tools
`await ComponentTypesView.instance.getAllComponents();` takes a long time on Windows
Open
@datho7561 is already working on this.
Since Jul 24, 2023.
kind/bug
os/windows
performance
- Dominant language
- TypeScript
- Stars
- 123
- Forks
- 63
- Avg merge
- 6h 16m
- Merged PRs (30d)
- 74
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.