Skip to content

Extension causes high cpu load #3737

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
marcelhekking opened this issue Dec 18, 2018 · 3 comments
Closed

Extension causes high cpu load #3737

marcelhekking opened this issue Dec 18, 2018 · 3 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@marcelhekking
Copy link

marcelhekking commented Dec 18, 2018

ms-python.python-unresponsive.cpuprofile.txt

  • Issue Type: Performance
  • Extension Name: python
  • Extension Version: 2018.12.1
  • OS Version: Linux x64 4.18.0-11-generic
  • VSCode version: 1.30.0

⚠️ Make sure to attach this file from your home-directory: /home/marcel/ms-python.python-unresponsive.cpuprofile.txt [ms-python.python-unresponsive.cpuprofile.txt](https://github.com/Microsoft/vscode-python/files/2689549/ms-python.python-unresponsive.cpuprofile.txt) ⚠️

Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load
ms-python.python-unresponsive.cpuprofile.txt

@brettcannon
Copy link
Member

@marcelhekking can you provide information from our issue template? E.g. are you running Jedi or the language server? How about a linter like Pylint across a lot of opened or modified files? Unfortunately that template you found is geared towards VS Code itself and not the Python extension so we need different information.

@brettcannon brettcannon added the info-needed Issue requires more information from poster label Dec 18, 2018
@marcelhekking
Copy link
Author

marcelhekking commented Dec 20, 2018 via email

@brettcannon
Copy link
Member

Ah, OK. Yeah, the CPU load at start-up is a known problem because the language server is indexing your code. We are working on ways to fix that. This is covered by a couple of issues including microsoft/python-language-server#495 .

@lock lock bot locked as resolved and limited conversation to collaborators Jan 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants