redhat-developer / redhat-developer/vscode-yaml

CTRL-P very slow

Open
#663 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

Issue Type: Bug

In a workspace filled with many C++ files (and zero yaml file), basic command CTRL-P "Open File from palette" is very slow:

  • opening the palette for opening file from there takes more than 5 instead of less than 1
  • when starting to type file letters in palettes, the menu is refreshed with matching files in workspace in more than 30 seconds instead of 2 or 3

Extension version: 1.2.2
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Xeon(R) Gold 5120 CPU @ 2.20GHz (56 x 2195)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 127.65GB (90.37GB free)
Process Argv --crash-reporter-id 0e4c592f-a571-49d3-8f59-262e921ec3c8
Screen Reader no
VM 50%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscop804cf:30404767
vscop940:30404999
vsrem710:30416614
vscexrecpromp3t3:30407764

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce CTRL-P in a workspace containing many C++ files and no YAML files, using the reported VS Code and extension versions. Measure palette opening and file-search refresh times, then compare them with the reported targets of under one second and two to three seconds. Done means both operations meet those targets without regressing normal file lookup.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
performance, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.