Skip to content
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

High CPU usage due to spinner animation in VSCode status bar #178311

Open
andreialecu opened this issue Mar 25, 2023 · 5 comments
Open

High CPU usage due to spinner animation in VSCode status bar #178311

andreialecu opened this issue Mar 25, 2023 · 5 comments
Assignees

Comments

@andreialecu
Copy link

andreialecu commented Mar 25, 2023

Type: Performance Issue

When the Github Copilot extension is installed in VSCode, the spinner animation in the status bar may get stuck and cause high CPU usage for the "Code - Insiders Helper (GPU)" process, even when the editor is idle.

I have attached a video demonstrating the behavior.

CleanShot.2023-03-25.at.10.46.12.mp4

This seems to occur for both Github Copilot or other extensions that may produce a spinner. See phenomnomnominal/betterer#1132 for a related issue.

VS Code version: Code - Insiders 1.77.0-insider (833ac68, 2023-03-21T05:24:48.595Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: Yes

System Info
Item Value
CPUs Apple M1 Max (10 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 28, 23, 20
Memory (System) 64.00GB (2.56GB free)
Process Argv --crash-reporter-id 31bc4592-32b5-4760-a625-0d4a1e53c114
Screen Reader no
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
pythonsymbol12:30651887
a9j8j154:30646983
showlangstatbar:30659908
pythonb192cf:30661257
azdwalk:30687957
pythonms35:30671666
f08j5886:30680471
7ij38806:30687742

@TopGrd
Copy link

TopGrd commented Mar 27, 2023

Same issue with me

@deepak1556
Copy link
Contributor

Is the issue present with latest insiders ?

@deepak1556 deepak1556 added the info-needed Issue requires more information from poster label Dec 5, 2023
@andreialecu
Copy link
Author

@deepak1556 I believe so, it's harder to get it to spin consistently though. I believe a previous version of the extension had a bug and it would get stuck sometimes.

However, if I make it do some work and get it to think for a while, I can see the same GPU process shooting up in usage and staying there for as long as the spinner is active.

@andreialecu
Copy link
Author

I didn't have the absolute latest Insiders, it seems; there were some pending updates. Did you mean an insider from today?

@andreialecu
Copy link
Author

I believe this is still present, see recording from today:

CleanShot.2023-12-05.at.12.47.49.mp4

Version details:

Version: 1.85.0-insider
Commit: 4ded39cfd580476a8f97303ce24848a7710b3427
Date: 2023-12-04T22:25:45.634Z (12 hrs ago)
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 23.0.0

@deepak1556 deepak1556 removed the info-needed Issue requires more information from poster label Dec 5, 2023
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

5 participants