redhat-developer / redhat-developer/vscode-openshift-tools

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

Open
#3,042 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.