Repository: vscode
Issue: Random freezes while typing after previous video frame shows up
Labels: info-needed


Type: <b>Performance Issue</b>

While typing, if a previous state or rendered frame of the editor suddenly appears, the whole VSCode window will freeze for a few minutes then resume as if nothing happened.

VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Darwin arm64 23.6.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M3 Max (14 x 2400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|2, 2, 2|
|Memory (System)|36.00GB (9.65GB free)|
|Process Argv|--crash-reporter-id 289b7be8-8e99-4b12-8403-363888175bba|
|Screen Reader|no|
|VM|0%|
</details><details>
<summary>Process Info</summary>

```
CPU %	Mem MB	   PID	Process
   12	   295	 39732	code main
    0	    37	 39736	   utility-network-service
    0	   848	 39737	window [1] (errors.ts — bridgecmdr)
    0	    74	 40186	ptyHost
    0	     0	 40191	     /bin/zsh -il
    0	   332	 40187	extensionHost [1]
    0	   184	 40281	     electron-nodejs (tsserver.js )
    0	   848	 40284	     electron-nodejs (tsserver.js )
    0	   111	 40462	       electron-nodejs (typingsInstaller.js typesMap.js )
    0	   147	 40451	     electron-nodejs (server.js )
    0	    74	 40779	     /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=40187
    0	   590	 40912	     electron-nodejs (eslintServer.js )
    0	   111	 47926	     /Users/matthewholder/.nvm/versions/node/v22.3.0/bin/node --dns-result-order=ipv4first /Users/matthewholder/.vscode/extensions/vitest.explorer-1.2.0/dist/worker.js
    0	     0	 47931	       /Volumes/Projects/bridgecmdr/node_modules/@esbuild/darwin-arm64/bin/esbuild --service=0.21.5 --ping
    0	   111	 47927	     /Users/matthewholder/.nvm/versions/node/v22.3.0/bin/node --dns-result-order=ipv4first /Users/matthewholder/.vscode/extensions/vitest.explorer-1.2.0/dist/worker.js
    0	     0	 47930	       /Volumes/Projects/bridgecmdr/node_modules/@esbuild/darwin-arm64/bin/esbuild --service=0.21.5 --ping
    0	   184	 40188	shared-process
    0	     0	 50544	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    74	 40189	fileWatcher [1]
    0	    74	 50337	   gpu-process
    0	   111	 50533	window [3] (Issue Reporter)
```

</details>
<details>
<summary>Workspace Info</summary>

```
|  Window (errors.ts — bridgecmdr)
|    Folder (bridgecmdr): 459 files
|      File types: html(101) ts(96) pak(58) vue(20) json(13) js(10) yml(6)
|                  gitignore(4) so(4) sh(3)
|      Conf files: launch.json(1) settings.json(1) dockerfile(1)
|                  package.json(1) tsconfig.json(1)
|      Launch Configs: node chrome;
```

</details>
<details><summary>Extensions (28)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-eslint|dba|3.0.10
githistory|don|0.6.20
dotenv-vscode|dot|0.28.1
gitlens|eam|15.3.1
EditorConfig|Edi|0.16.4
prettier-vscode|esb|11.0.0
codespaces|Git|1.17.2
remotehub|Git|0.62.0
vscode-github-actions|git|0.26.3
vscode-pull-request-github|Git|0.94.0
todo-tree|Gru|0.0.226
npm|ide|1.7.4
i18n-ally|lok|2.12.0
vscode-docker|ms-|1.29.2
remote-containers|ms-|0.380.0
hexeditor|ms-|1.10.0
remote-explorer|ms-|0.4.3
remote-repositories|ms-|0.40.0
remote-server|ms-|1.5.2
uuid-generator|net|0.0.5
material-icon-theme|PKi|5.10.0
material-product-icons|PKi|1.7.1
vscode-yaml|red|1.15.0
scala|sca|0.5.7
sass-indented|syl|1.8.31
explorer|vit|1.2.0
volar|Vue|2.1.2
quokka-vscode|Wal|1.0.649


</details>
<!-- generated by issue reporter -->