Skip to content

Update check for installed VS Code Extensions is making time to usable GUI very slow #9056

Open
@slhultgren

Description

@slhultgren

Bug Description:

During Theia startup and initialization of the VSXExtensionModel, each vs code extension will be checked against open-vsx.org for update.
The usable GUI is not shown until these update checks has completed.

If you are on a slow network or have a lot of extensions installed (since open-vsx is also rate limited) this will take a long time
With 75 VS Code extensions installed and running Theia in the browser I get this timing of Refresh to GUI: between 50 and 90 seconds.

If I remove this line https://github.com/eclipse-theia/theia/blob/master/packages/vsx-registry/src/browser/vsx-extensions-model.ts#L67

And try the same thing, still with 75 vs code extensions installed, I get Refresh to GUI at a pretty stable 16 seconds for "theia build --mode development"

IMO This update check should be triggered as a background task after the main GUI has been presented.

Steps to Reproduce:

  1. Install a fair number of VS Code extensions
  2. Refresh/restart the Theia instance
  3. Observe that the spinning wheel does not disappear until all the queries against open-vsx has resolved (using network tab in debug tools)

Additional Information

  • Operating System: Linux
  • Theia Version: 1.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    open-vsxissues related to the open-vsx registryperformanceissues related to performancevsx-registryIssues related to Open VSX Registry Integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions