workspace/symbol
extremely slow (~13s) to produce first result on a large-ish monorepo; especially poor experience w/ VScode's "Quick Open: Include Symbols"
#1156
Labels
Update: see first comment; this is due to
search.quickOpen.includeSymbols
.Original content follows:
Type: Bug
My "Go to file" (⌃P) is extremely slow in the following situation:
Video: https://imgur.com/M3QjVI3
(This doesn't reproduce with OCaml Platform disabled; and does reproduce with all other extensions disabled.)
It definitely seems to be something really slow with
workspace/symbol
; trying again with the 'trace' debugging enabled, I get this in the "OCaml Language Server" 'Output' pane:I have observed other coworkers on the same codebase, however, (many of us use VScode + OCaml Platform) using a nearly-instantaneous ⌃P. Very jealous. :P
I'm not sure what's unique about my setup — coworkers (who do not observe this issue) and I share a remote, extremely beefy, devbox; although we each have a separate nspawn, separate clone of the codebase, separate configuration, etc. Nonetheless, I've been unable to clear this issue up by wiping out configuration, re-creating the workspace, re-cloning the project, etceteras …
Extension version: 1.12.2
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:58:33.551Z)
OS version: Darwin arm64 22.3.0
Modes:
Connection to 'ssh-remote+nspawn' could not be established
Connection to 'SSH: nspawn' could not be established Canceled
Remote OS version: Linux x64 5.16.0-0.bpo.4-amd64
Connection to 'ssh-remote+nspawn' could not be established
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Connection to 'ssh-remote+nspawn' could not be established
Connection to 'SSH: nspawn' could not be established Canceled
Connection to 'ssh-remote+nspawn' could not be established
The text was updated successfully, but these errors were encountered: