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

Very slow intelisense when used in large project #109

Open
bryanjtc opened this issue May 30, 2024 · 3 comments
Open

Very slow intelisense when used in large project #109

bryanjtc opened this issue May 30, 2024 · 3 comments

Comments

@bryanjtc
Copy link

bryanjtc commented May 30, 2024

Type: Bug

Open a larget typescript project with more than 5000 thousand files including node_modules
Vscode tries to load typescript intelisense and takes too long to finish.
It may take more than 5, 10, 15 minutes.

Related to: #102
Related to: #88
Related to: #75

This related issues also happen to me, but I just wait until the intelisense finishes loading.

Extension version: 0.5.4
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 5600X 6-Core Processor (12 x 3700)
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
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.93GB (2.00GB free)
Process Argv --crash-reporter-id 6477b93f-7c3b-4f54-a06d-545a69cae368
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
chatpanelc:31048052
dsvsc021:30996838
9c06g630:31013171
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecationcf:31061161
pythonprt:31056678
dwnewjupyter:31046869
26j00206:31048877

@kevinramharak
Copy link
Contributor

@bryanjtc Thanks for the report. Is there any chance your project is available online?
Also can you check if you are using this setting: typescript.tsserver.experimental.enableProjectDiagnostics? As I have tried to reproduce this with a few large projects, this issue seems hard to pin down.

@bryanjtc
Copy link
Author

The project is private. I don't have enabled enableProjectDiagnostics.

@kevinramharak
Copy link
Contributor

@bryanjtc Understandable, thanks for the info on the setting. That will help narrow it down a bit.

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

No branches or pull requests

2 participants