-
Notifications
You must be signed in to change notification settings - Fork 770
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
Pylance draining battery by constantly triggering indexing? #7028
Labels
needs repro
Issue has not been reproduced yet
Comments
can you send a longer log to see whats triggering indexing |
Sure. This is what happens when i open vscode.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Type: Bug
Just by opening my project, pylance uses a lot of battery / cpu (Activity monitor says over 1000 for energy impact for a couple of seconds) by indexing like every 15 seconds or so. I'm looking at python language server log and it keeps saying this over and over again.
Extension version: 2025.3.1
VS Code version: Code 1.98.0 (6609ac3d66f4eade5cf376d1cb76f13985724bcb, 2025-03-04T21:06:18.612Z)
OS version: Darwin arm64 24.3.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: