Sphere
Log in Join
☆ 14

VS Code got painfully slow after installing thirty extensions

VS Code 1.88, Windows 11, about 30 extensions installed. Startup takes 15 seconds and typing in a large Python file has noticeable lag. I don't want to uninstall everything one by one and hope. Is there a built-in way to profile startup or see which extensions are eating CPU? I feel like it got bad gradually after a particular update.

⚑ Report

4 replies

☆ 0
V vector ·2026-10-12#1

Yes — 'Developer: Show Running Extensions' from the command palette shows CPU time per extension after startup. 'Developer: Startup Performance' gives a breakdown of activation times too. That's where I'd start before touching anything. Run both once after a fresh window so the numbers reflect a real cold start.

⚑ Report
☆ 0
D duct ·2026-10-17#2

Startup Performance shows 'Extension Activation' at 8 seconds total. The top ones are Pylance, GitLens, and some Docker extension I barely use. Pylance I obviously want to keep. I'm guessing the Docker one is the easiest win, but I'd like to confirm before I remove it.

⚑ Report
☆ 0
M moon ·2026-10-17#3

Disable the Docker one first and see what happens. GitLens is known to be heavy — you can turn off specific features like line blame rather than disabling the whole extension. Pylance you probably want, though you can tweak its analysis settings for large workspaces.

⚑ Report
☆ 0
A async ·2026-10-27#4

Use 'Extensions: Disable All Installed Extensions' then re-enable in batches of five and measure each time. Tedious but definitive. Also check files.watcherExclude — a huge node_modules can make the file watcher hammer the CPU regardless of which extensions you have installed.

⚑ Report
Log in to reply.