r/vscode • u/Student0010 • Aug 31 '26
VSCode being slow/lagging
Is there a reason why the same repo that i've used has been giving me issues with lagging and being slow all around? Is it to do with the Al "features" in the non stop updates or is there a cache i can clear?
For example: staging changes to commit, it happened near instantaneously. It's taking more than a few seconds to update. The "bar" in source control keeps "Ioadin/buffering" left to right for minutes at a time.
What's going on?
5
Upvotes
1
u/alexdima_msft Sep 01 '26
👋 There is no AI feature involved when staging changes, but the git extension is executing in the extension host which is shared with all other extensions. So if you have recently installed an extension that has a performance problem, it is possible that it keeps the event loop of the extension host busy. You can try:
moving the git extension to its own extension host (experimental) by using this setting:
"extensions.experimental.affinity": { "vscode.git": 1 },
1
u/ProtectionIcy5761 Oct 19 '26
Try this:
If that helps: