Repository navigation
Open
Labels
accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugmitigatedIssue has workaround in placeperfwindowsVS Code on Windows issues
Description
Issue Type: Performance Issue
It is not slow to start-up, it is slow to do anything in the text editor (scroll, find, type, etc). For example, when scrolling, the screen is unable to keep up with the mouse wheel and it will keep scrolling for a while after I stop the mouse wheel. I disabled the extensions I installed lately, and also reduced the amount of files in the workspace.
VS Code version: Code 1.49.1 (58bb7b2, 2020-09-16T23:27:51.792Z)
OS version: Windows_NT x64 10.0.19041
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2712) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on protected_video_decode: enabled rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 11.85GB (4.20GB free) |
| Process Argv | --crash-reporter-id 2c01e348-504e-456f-931c-280aa8926a03 |
| Screen Reader | no |
| VM | 0% |
Process Info
CPU % Mem MB PID Process
2 96 33588 code main
2 88 13340 shared-process
3 84 26656 window (Issue Reporter)
0 24 27836 crashpad-handler
0 223 30908 window (Settings - local_svn_workspace (Workspace) - Visual Studio Code)
0 11 6640 watcherService
0 6 12092 console-window-host (Windows internal process)
0 6 9240 console-window-host (Windows internal process)
0 96 19504 extensionHost
0 69 30740 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
0 60 30924 utility
1 241 33368 gpu-process
Workspace Info
| Window (Settings - local_svn_workspace (Workspace) - Visual Studio Code)
| Folder (JESD204): 1760 files
| File types: svn-base(998) v(161) sv(38) sh(33) tcl(30) prj(30) do(25)
| tmp(9) txt(9) log(7)
| Conf files: makefile(7);
Extensions (11)
| Extension | Author (truncated) | Version |
|---|---|---|
| better-comments | aar | 2.1.0 |
| bracket-pair-colorizer | Coe | 1.0.61 |
| ctags-support | jay | 1.0.19 |
| svn-scm | joh | 2.12.4 |
| rainbow-csv | mec | 1.7.1 |
| remote-ssh | ms- | 0.55.0 |
| remote-ssh-edit | ms- | 0.55.0 |
| remote-wsl | ms- | 0.44.5 |
| veriloghdl | msh | 1.3.3 |
| awesome-vhdl | puo | 0.0.1 |
| tcl | ras | 0.1.0 |
Reacted by Vasek Codey Vlcek, Chao Shi, Alex Todoran, Anastasios Papalyras, Dylan Wulf, Andy Wang, Thien Do, The web walker, avin-shum, Javadz and 60 more
Reacted by peter955
Metadata
Metadata
Assignees
Labels
accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugmitigatedIssue has workaround in placeperfwindowsVS Code on Windows issues
Activity
vscodebot commentedon Sep 18, 2020
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
alexdima commentedon Sep 18, 2020
RLesma Does this reproduce when disabling all extensions? Press
F1and then chooseDeveloper: Reload Window with Extensions Disabledjonas-jonas commentedon Sep 20, 2020
I do have this issue now too. I don't think I had in any previous version. My observations:
Edit: My "about" information:
Version: 1.49.0 (user setup)
Commit: e790b93
Date: 2020-09-10T13:22:08.892Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041
Hope this helps!
EusthEnoptEron commentedon Sep 21, 2020
I also noticed some lagginess when typing / scrolling on my end (1.49.1).
krenton commentedon Sep 21, 2020
Experiencing the same problem. My about info:
Significant performance drop when editing files that have some sort of syntax highlighting.
XML files were the worst; markdown was fine, but got worse when I added code snippets.
Recorded performance while typing/scrolling and saw a lot of warnings about "cumulative layout shift".
Downgraded to version 1.48.2 - the problem is gone. Also no more "cumulative layout shift" warnings in performance recordings.
Edit:
Actually checked: version 1.48.2 does have a small typing delay for me. Switching to 1.47.3 turned out to be the best experience.
RLesma commentedon Sep 22, 2020
I just did that, and it is still slow. Definitely not an extension issue.
RLesma commentedon Sep 22, 2020
Downgrading to 1.48.2 also solved the issue for me.
alexdima commentedon Sep 22, 2020
Robo (@deepak1556) Would you need more info here ? (this seems similar to #106456 , #106939 which are all on Windows)
147 remaining items
rynoV commentedon Aug 17, 2023
I'm also noticing this issue, it seems to be caused by higher resolution, when I switch my monitor's resolution from 3840x2160 to 1920x1080 I see an immediate speed up in VSCode
Let me know and I can provide more details
LucaMarconato commentedon Sep 21, 2023
For me setting
editor.hover.delayto20(it was10), helped.kurtextrem commentedon Jan 6, 2024
An easy fix is to add the vscode binary to the Google Chrome nvidia profile. This automatically applies all hidden settings in the nvidia profile to it.
notmalicik commentedon Feb 3, 2024
if you have a laptop try to change vscode from using gpu to cpu, worked for me
rynoV commentedon Feb 7, 2024
Thanks! With
code --disable-renderer-accessibility --disable-gpuI saw an improvement even at high resolution, although there's still a bit of lag but that could be something elseI think I tried this before, but I may not have completely closed vscode before running with the new flags
tadghh commentedon Feb 12, 2024
Other launch options for future lurkers
vscodium.cmd --disable-gpu --disable-software-rasterizer --disable-http2 --disable-http-cache --force_low_power_gpu --use-gl=egl
iacullo-atri commentedon Jun 4, 2024
--disable-renderer-accessibilityby itself fixed my scrolling issues.JHartzer commentedon Jun 19, 2024
Another data point:
code-insiders --disable-renderer-accessibilityresolved these issues for me as wellnathanredblur commentedon Aug 2, 2024
My vscode is very slow when you move the cursor with keys from left to right.

I try to investigate why, but this beats me.
CleanShot.2024-08-01.at.21.53.06.mp4
tadghh commentedon Aug 2, 2024
Could be caused by Nvidias power saving "WhisperMode/BatteryBoost" feature. It limits the fps to 30 even on Windows balanced power profile.
MarFre22 commentedon Aug 20, 2024
Thanks for all your tips!
Although I use VSCodium on Mac, I followed the ones recommended by Nick Iacullo (@iacullo-atri) ethan (@tadghh) JHartzer Calum Sieppert (@rynoV) and it worked very well!
I've also made a customised shortcut, in AppleScript, which makes it possible to run with the aforementioned arguments (I used (
--disable-gpu --disable-software-rasterizer --disable-http2 --disable-http-cache --force_low_power_gpu --use-gl=egl) via the Dock, Launchpad or Spotlight and via a file ("always open with...").In practice, I don't need to use the original shortcut.
Only Compatible with MacOS, tested on Sonoma version 14.5.
It should be compatible with VSCode, you just need to change
/Applications/VSCodium.app/Contents/Resources/app/bin/codium(blank space at the end!).I hope it helps someone!
AppleScript code below, use the Script Editor and save as an app.
egorlepa commentedon Jan 9, 2025
oh wow, thank you! this almost made me forgot i'm using junky electron garbage, feels like native app now.
nathanredblur commentedon Jan 14, 2025
I'm using mac, so, not sure.
artsparkAI commentedon May 3, 2025
I am on Ubuntu, I also had problems with vscode on my high res (3840 x 2160) monitor.
I believe I found a fix, I changed my Nvidia settings from "Adaptive" to "Prefer maximum performance":
I'm not getting any lag now, we'll see if it holds up.
Also putting as many things as possible into "extensions.experimental.affinity" also helped a bit (This can cause weird issues, this may not be a safe config TBH):
Update: Found the real issue I believe. I was running Cursor on a regular disk drive (Not SSD), and frequent saves of agent history to disk were causing enormous blocking delays. Moving everything to NVME seems to have fixed the issue.
4-FLOSS-Free-Libre-Open-Source-Software commentedon Aug 5, 2026
There already is a NVIDIA predefined profile for code.exe "VS Code Al Toolkit"