Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing is extremely slow #212031

Closed
erik-spaero opened this issue May 4, 2024 · 4 comments
Closed

Typing is extremely slow #212031

erik-spaero opened this issue May 4, 2024 · 4 comments
Assignees

Comments

@erik-spaero
Copy link

Type: Performance Issue

Even as I am typing in this box, the text is lagging a half second behind what I am typing.

I recorded a trace, will upload that when I get a link to the issue on Github.

VS Code version: Code 1.88.1 (e170252, 2024-04-10T17:43:08.196Z)
OS version: Darwin arm64 23.4.0
Modes:

System Info
Item Value
CPUs Apple M3 (8 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 3, 3, 4
Memory (System) 16.00GB (0.37GB free)
Process Argv --crash-reporter-id 1fd76f1f-bef7-4987-9484-2326e261c132
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   92	   229	  1505	code main
    2	    82	  2280	   gpu-process
    0	    16	  2281	   utility-network-service
    0	    49	  2914	shared-process
    0	     0	 59461	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    16	  2917	ptyHost
    0	   115	  7450	extensionHost [11]
    0	    33	  7453	     electron-nodejs (bin.js )
    0	    33	  7455	     electron-nodejs (languageserver.js )
    0	    33	  7457	     /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=7450
    0	    49	 37975	     /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/markdown-language-features/server/dist/node/workerMain --node-ipc --clientProcessId=7450
    0	    49	 55905	     electron-nodejs (eslintServer.js )
    0	    66	 56084	     electron-nodejs (tsserver.js )
    0	   246	 56085	     electron-nodejs (tsserver.js )
    0	    33	 56088	       electron-nodejs (typingsInstaller.js typesMap.js )
    0	    16	 56556	   utility-process
    1	    98	 59456	window [12] (Issue Reporter)
    0	   770	 67263	window [11] (playwright.config.ts — web-app)
    0	    33	 67265	fileWatcher [11]
Workspace Info
|  Window (playwright.config.ts — web-app)
|    Folder (web-app): 1255 files
|      File types: ts(314) tsx(253) pack(98) js(73) gz(67) sql(63) json(26)
|                  webp(13) png(9) old(8)
|      Conf files: github-actions(5) package.json(2) tsconfig.json(2)
|                  launch.json(1) settings.json(1) dockerfile(1)
|      Launch Configs: node-terminal(5) chrome;
Extensions (7)
Extension Author (truncated) Version
vscode-eslint dba 2.4.4
prettier-vscode esb 10.4.0
playwright ms- 1.0.22
prisma Pri 5.13.1
vscode-yaml red 1.14.0
rewrap stk 1.16.3
pretty-ts-errors Yoa 0.5.4
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
chatpanelc:31018788
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31022790
dwnewjupytercf:31035177

@VSCodeTriageBot
Copy link
Collaborator

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.89.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@erik-spaero
Copy link
Author

Here is the trace file:

slow vscode trace.json

@gjsjohnmurray
Copy link
Contributor

Did you try investigating by running the Start Extension Bisect command?

@erik-spaero
Copy link
Author

@gjsjohnmurray I updated my VSCode over the weekend and it's been much better for me! So maybe was just an issue with that version. Sorry for the noise!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants