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 visible lag between keyup and symbol printing in editor #42

Open
bornik opened this issue Feb 15, 2023 · 5 comments
Open

Very visible lag between keyup and symbol printing in editor #42

bornik opened this issue Feb 15, 2023 · 5 comments

Comments

@bornik
Copy link

bornik commented Feb 15, 2023

Type: Bug

Start typing in vs code in middle size project
expected: no lag
observed: lag up to 1-2 sec

Extension version: 2.1.0
VS Code version: Code 1.75.0 (Universal) (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:24:42.903Z)
OS version: Darwin arm64 21.6.0
Modes:
Sandboxed: No

System Info
Item Value
CPUs Apple M1 Max (10 x 24)
GPU Status 2d_canvas: enabled
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
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 3, 4, 4
Memory (System) 32.00GB (0.07GB free)
Process Argv --crash-reporter-id a109d7a9-a7ad-4e1b-bef1-3aea033408df
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30660299
azure-dev_surveyonecf:30548226
vscccc:30610679
pyindex848:30662994
nodejswelcome1:30587005
2e4cg342:30602488
pyind779cf:30662993
f6dab269:30613381
pythonsymbol12:30657548
a9j8j154:30646983
vsccsb:30662443
vscodedisable:30660115

@kbysiec
Copy link
Owner

kbysiec commented Feb 15, 2023

Hi @bornik,

Could you prepare a gif or record a video with the issue? Could you provide example of public project where the issue could be reproduce?

Thank you.
Regards,
Kamil

@bornik
Copy link
Author

bornik commented Feb 15, 2023

Hi @kbysiec,
Here is the recording with screen keyboard. It's not super obvious from the video but lag is obvious when typing. Once I switch extension off all is working fine
https://user-images.githubusercontent.com/970842/219019581-9f7df9c0-f8d2-40cd-9509-771d142df185.mov

@kbysiec
Copy link
Owner

kbysiec commented Feb 17, 2023

@bornik,

I can see the issue. I think the problem is with the size of the project. The bigger project (I have tested on vscode repo with c.a. 4.3k files and more than 400k items) becomes not responsive. Both with scanning and using. I am testing some optimizations but for now with no any permormance increase.
Thank you one more time for the issue. I haven't tested it with bigger project till now.

I will probably end with update of README file with info about limitations. Because I cannot see any good solution for now.

Regards,
Kamil

@Alexander-ilyin3
Copy link

Type: Bug

Same issue. Just simple typing in any project file causes a 1-2 second delay for any further interaction with vscode.

File count: 767
Size of src folder: 1,98 MB

Sorry if the information is not sufficient. I'll be glad to provide some more info about my environment if needed. Just let me know which kind of info you need :)

Extension version: 2.1.0
VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 2600 Six-Core Processor (12 x 3850)
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.93GB (6.63GB free)
Process Argv --crash-reporter-id e4a03733-d24c-4726-98bf-2744961f17a2
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30933248
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
3ef8e399:30949928

@karolis-kniuksta-trimble
Copy link

karolis-kniuksta-trimble commented Feb 12, 2024

Same here. I have big workspace and its unusable.
Also when I type sometime text that I entered disappears.

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

4 participants