Skip to content

Slow Typescript Intellisense in big project #43318

@samchouse

Description

@samchouse

Issue Type: Performance Issue

I have a big project/workspace (8 folders each with a different program) and when I use intellisense it takes about 3 seconds to load. I have added node_modules and my builds to vscode ignore.

VS Code version: Code - Insiders 1.55.0-insider (e4b1e9a, 2021-03-19T05:14:29.874Z)
OS version: Linux x64 5.8.0-45-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 3500)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 1, 1, 1
Memory (System) 15.40GB (4.37GB free)
Process Argv --no-sandbox --unity-launch --crash-reporter-id e77e7c8c-180a-4efe-8d77-5ad903df7f0d
Screen Reader no
VM 0%
DESKTOP_SESSION plasma
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP KDE
XDG_SESSION_TYPE x11
Process Info
CPU %	Mem MB	   PID	Process
    1	   158	204818	code-insiders main
    0	    32	204821	   zygote
    0	   173	204845	     gpu-process
    0	    32	204822	   zygote
    1	    79	208955	     window (Issue Reporter)
    0	    47	204852	   utility
    0	   300	204872	   window (index.tsx - quicky-gg (Workspace) - Visual Studio Code - Insiders)
    0	   300	205273	     extensionHost
    0	   110	205363	       electron_node tsserver.js 
    0	   347	205364	       electron_node tsserver.js 
    0	    79	205415	         electron_node typingsInstaller.js typesMap.js 
    0	    63	205627	       /usr/share/code-insiders/code-insiders /usr/share/code-insiders/resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=205273
    0	   126	205860	       electron_node eslintServer.js 
    0	    63	205301	     watcherService
    0	    63	205395	     searchService
    2	   126	205287	   shared-process
    0	    63	205318	     ptyHost
    0	     0	205978	       /usr/bin/zsh
    0	     0	208973	     /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	208974	       /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
Workspace Info
|  Window (index.tsx - quicky-gg (Workspace) - Visual Studio Code - Insiders)
|    Folder (docker): 4 files
|      File types: yml(1) json(1) conf(1)
|      Conf files: package.json(1)
|    Folder (rpc): 2 files
|      File types: json(1)
|      Conf files: package.json(1)
|    Folder (api-wrapper): 17 files
|      File types: json(4) ts(4) yml(1) gitignore(1) js(1) lock(1)
|      Conf files: github-actions(1) package.json(1) tsconfig.json(1)
|    Folder (cli): 35 files
|      File types: js(11) json(5) ts(3) yml(1) gitignore(1) tsbuildinfo(1)
|                  log(1) lock(1)
|      Conf files: package.json(2) github-actions(1) tsconfig.json(1)
|    Folder (discord-bot): 119 files
|      File types: ts(38) js(36) json(4) dockerignore(1) development(1)
|                  example(1) production(1) eslintignore(1) yml(1)
|                  gitignore(1)
|      Conf files: github-actions(1) package.json(1) tsconfig.json(1)
|    Folder (backend): 279 files
|      File types: js(119) ts(88) md(7) json(7) html(4) csv(3) txt(3) css(2)
|                  png(2) dockerignore(1)
|      Conf files: github-actions(1) launch.json(1) tasks.json(1)
|                  package.json(1) tsconfig.json(1)
|      Launch Configs: docker
|    Folder (cdn): 1418 files
|      File types: js(22) json(10) ts(3) tsx(3) css(2) development(1)
|                  example(1) production(1) yml(1) gitignore(1)
|      Conf files: github-actions(1) package.json(1) tsconfig.json(1)
|    Folder (frontend): 6600 files
|      File types: ts(61) js(39) tsx(36) json(29) svg(4) DS_Store(4) webp(3)
|                  dockerignore(1) development(1) example(1)
|      Conf files: github-actions(1) package.json(1) tsconfig.json(1);
Extensions (34)
Extension Author (truncated) Version
vscode-css-formatter aes 1.0.1
cypress-snippets and 1.2.0
jest-snippets and 1.8.0
better-toml bun 0.3.2
vscode-eslint dba 2.1.19
es7-react-js-snippets dsz 3.1.1
vsc-material-theme Equ 33.2.0
vsc-material-theme-icons equ 1.2.2
prettier-vscode esb 6.3.1
vscode-firefox-debug fir 2.9.2
vscode-jest-runner fir 0.4.31
shell-format fox 7.0.1
helium-icon-theme hel 1.0.0
discord-vscode icr 5.4.0
fluent-icons mig 0.0.7
dotenv mik 1.0.1
vscode-docker ms- 1.11.0
python ms- 2021.3.658691958
jupyter ms- 2021.4.641214696
remote-containers ms- 0.164.1
cpptools ms- 1.2.2
vsliveshare ms- 1.0.3968
vscode-jest Ort 3.2.0
material-icon-theme PKi 4.5.0
vscode-yaml red 0.16.0
logos-vscode Ren 0.5.1
rust rus 0.7.8
vs-code-prettier-eslint rve 0.4.1
html-preview-vscode tht 0.2.5
shellcheck tim 0.14.0
vscode-counter uct 2.2.2
clang-format xav 1.9.0
commandlist yam 1.0.3
material-theme zhu 3.9.15

(7 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30263608
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30244316
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30259475
pythonvsnew554:30265444
pythontb:30258533
pythonvspyt943:30277000
openwslfolder:30278404
vscoresta800cf:30265948
vspre833:30267464
vsfjg287:30275553
vshan820:30276952

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs More InfoThe issue still hasn't been fully clarified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions