I'm having lagging spikes in VS code due to hardware acceleration.
How can I make VS Code always start with the --disable-gpu flag (when starting from the command line, as well as from the context menu)?
--disable-gpu
For me it worked:
Go to Properties => Compatibility => Run this program in compatibility mode for Windows 7
This problem has been going on for 3 years and has not yet been resolved. ( https://github.com/Microsoft/vscode/issues/15211 )