Skip to content

Very slow extension activation time #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xshapira opened this issue Jun 22, 2023 · 6 comments
Closed

Very slow extension activation time #171

xshapira opened this issue Jun 22, 2023 · 6 comments

Comments

@xshapira
Copy link

In the past few days, I have noticed a very slow activation time of Sourcery—1370ms.

CleanShot 2023-06-22 at 19 37 26@2x
@reka
Copy link
Contributor

reka commented Jun 22, 2023

Thanks a lot for reporting this. 👍 It's very slow indeed.

Can you give some info about your system?

  • OS
  • VSCode version

Does this lead to a noticeable delay or hanging? Or is this long activation time visible only on the "Running Extensions" tab?

@xshapira
Copy link
Author

  • macOS Monterey 12.6.5
  • VS Code Version: 1.79.2

I haven't seen any big slowdowns, but I'm sure it impacts some places.

@cpoptic
Copy link

cpoptic commented Jun 26, 2023

+1 If you run Developer: Show Running Extensions in the VS Code command palette, Sourcery 1.4.0 is (by far) the longest loading VS Code extension. Mine is showing 8212 ms! 8.2 seconds. For comparison, the next slowest loading extension, Pylance is only 1135 ms. So 8x slower than the 2nd slowest extension.

How can we reduce the extension loading time? This is way too long of load time.

  • macOS Monterey 12.6.4
  • VS Code version: 1.79.2

@Hellebore
Copy link
Contributor

Am looking into addressing this.

@Hellebore
Copy link
Contributor

@cpoptic @xshapira could you please install the latest version (1.5.0) and check the activation time? Want to make sure we've addressed the issue.

@xshapira
Copy link
Author

Fixed. Great job guys!

CleanShot 2023-06-30 at 11 04 38@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants