-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
VSCODE is slow even with no extension while scrolling to compare code #106939
Comments
Web based code editors has some limits in terms of performance. See my issue #106962 |
@Perh0rd What is the exact setup? Remote Desktop to another Windows machine which runs VS Code Desktop? Then scrolling while using Remote Desktop is slow? |
@alexdima Our dev team uses WVD with remote Azure. The problem is on every WVD. Once connected the scrolling is slow. For example if we use code comparaison with git, we have a delay of few second by clicking the green/red zone on the right (https://paul-xpedigo.tinytake.com/tt/NDY0Mzk2N18xNDcxNDcyNw) , it just take time to scroll up or down. Same When we are scrolling into the code itself. We can scroll we the mouse wheel, but we won't see the the code scrolling, it will just jump directly to the number of mouse wheels gesture we have done, creating a feeling of lag. We do not notice such a problem with codespace, using vs code insider with no activated extension won't fix the problem also. |
@Perh0rd So If I understand correctly, you are running VS Code Desktop inside a Windows VM that runs on Azure and are using Remote Desktop to connect to it. If that is the case, I would expect that scrolling is driven by the latency to the VM.
Could you perhaps attach a gif to clarify the extent of the slowness? |
Hi, Every other software are smooth, even watching 4k videos on Youtube. Here are more informations, I just run those tests on the WVD. This is how CodeSpace behaves using chrome to compare code : As you can see this is very smooth and once I click on the green/red block on the right it scroll instantly, and scrolling in the document is pretty fast too. In the others side if you take a look at this : I compare the exact same code with VSCODE installed on the machine (insider version, but its the same with stable version , no extension installed), and it's laggy.... This is a 4k video on the WVD : https://ttprivatenew.s3.amazonaws.com/pulse/paul-xpedigo/attachments/14714823/TinyTake18-09-2020-05-51-29.mp4 Using Chrome for https://vscode-web-test-playground.azurewebsites.net/ is very while scrolling. VMs have no GPU, but I tested in a Pool of WVD with Nvidia GPU, and the problem is the same... Try with Photoshop is smooth also for information. This is very strange Thank you a lot for your help. |
And for sure, trying on my local computer and this is working well, but well, our setup is remote... |
It seems to be global with WVD on Azure, if you can have a chance to test on your own with the same Windows Version we use (it's the standard version available on Azure library), you will be able to reproduce this behavior. |
Thanks for the extra info. Here's some more info from my side: When using Codespaces, the UI of VS Code runs natively on the local machine. Only the extension host which spawns language servers or terminals or file watchers, etc runs on the remote machine, where the files are. So scrolling with a local installed VS Code connected via Codespaces should have the exact same speed as scrolling with a local installed VS Code browsing a local file, since scrolling itself never leaves your local machine. I saw the delay, it looks like there is a very large lag between you doing an input (like a mouse down) and seeing the reaction. At this point I have no idea why that would be. But please be aware that the 4K video demonstrates that there is high throughput, it does not demonstrate low latency. So comparing with youtube playback is not entirely comparing apples to apples.
You missed a word here. What did you mean? So Chrome is not acting in the same way? If you open Chrome on the remote machine and open a website, is scrolling smooth? @deepak1556 Do you have any troubleshooting tricks up your sleeve to try to find out what is causing the lag? |
@alexdima Missing word was ''very smooth''. There is no low latency I can assure you that all the others softwares run smoothly, and vscode in codespace or in chrome does not rum slowly, the scroll is always smooth using CodeSpace. As far as I remembered, I did not notice such a problem, in June or July. |
Pretty sure this might be a duplicate of #106456, just to confirm can you share the wpr profile following
And we also need a chrome tracing profile which can be obtained by
|
Hi @deepak1556 thank you for your help. I have just sent the email to you. |
Ack, thanks! |
@deepak1556 @alexdima I also confirm that regarding ticket comment #106456 (comment) , the slowness does not exist on previous version of VSCODE 1.48.2 Screencast here : https://ttprivatenew.s3.amazonaws.com/pulse/paul-xpedigo/attachments/14736024/TinyTake21-09-2020-04-22-45.mp4 |
If there is any workaround , else than using v1.48, I'll take it if you know one, if not, well I guess we should wait to next update ? Thank you for your feedback. |
We have written the needed data into yo
Issue Type: Performance Issue
Using VSCODE insider, running without any extension, compare code , and scrolling is very slow.
We are on WVD environnement.
This is working well on physical computer.
WVD environnement is stable, user can view 4K vidéo on youtube and use photoshop, they also use VSCODE online (codespace), it works smoothly, it's really on the desktop version of VSCODE.
VS Code version: Code 1.49.0 (e790b93, 2020-09-10T13:22:08.892Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 4.15.0-106-generic
System Info
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_renderer: disabled_off_ok
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Process Info
Workspace Info
Extensions (24)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: