You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
Python version (& distribution if applicable, e.g. Anaconda): 3.7.7
Issue
I am consistently experiencing very high CPU usage by the Microsoft.Python.LanguageServer on my macOS 10.15.5. This happened a little over 1 year ago, was resolved through an update, and now seems to be back (unsure, however, if the cause is the same). This is dramatically impacting usable battery life while using VSCode.
Additional lnformation
The text was updated successfully, but these errors were encountered:
Please try switching to Pylance, an updated Python language server that we introduced recently. It replaces the older language server and is built to be much faster and use fewer resources (CPU and memory). Give it a try and let us know if that addresses the problem you're seeing.
I missed the announcement of Pylance, it looks exciting! I have switched to Pylance and will watch performance over the next day or so. Thanks for the tip!
Environment data
Issue
I am consistently experiencing very high CPU usage by the Microsoft.Python.LanguageServer on my macOS 10.15.5. This happened a little over 1 year ago, was resolved through an update, and now seems to be back (unsure, however, if the cause is the same). This is dramatically impacting usable battery life while using VSCode.
Additional lnformation
The text was updated successfully, but these errors were encountered: