vscode: VSCODE is slow even with no extension while scrolling to compare code

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 (e790b931385d72cf5669fcefc51cdf65990efa5d, 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
Item Value
CPUs Intel® Xeon® Platinum 8168 CPU @ 2.70GHz (16 x 2694)
GPU Status 2d_canvas: unavailable_software
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
Load (avg) undefined
Memory (System) 32.00GB (25.69GB free)
Process Argv –crash-reporter-id c2ba6ccf-ae4c-45cd-aac6-3c82274e9539
Screen Reader no
VM 0%
Item Value
Remote SSH: paul.xpedigo.dev
OS Linux x64 4.15.0-106-generic
CPUs Intel® Xeon® CPU E5-2650 v4 @ 2.20GHz (6 x 2199)
Memory (System) 15.66GB (2.38GB free)
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	    89	 13344	code main
    0	    85	  9372	   gpu-process
    0	   278	 11876	   window (app/Repositories/Helpers/Shipments/ShipmentRepositoryHelper.php - xpedigo-api [SSH: paul.xpedigo.dev] - Visual Studio Code)
    0	     4	  4976	     C:\windows\System32\cmd.exe /c (type "C:\Users\local_paul\Temp\vscode-linux-multi-line-command-paul.xpedigo.dev-497457804.sh" | ssh -T -D 52214 xpedigo@paul.xpedigo.dev bash) & exit /b 0
    0	    11	 12036	       ssh  -T -D 52214 xpedigo@paul.xpedigo.dev bash
    0	     6	 10912	     console-window-host (Windows internal process)
    0	    69	 11520	     extensionHost
    0	    15	 12276	   crashpad-handler
    0	    27	 13076	   utility
    0	    68	 15888	   window (Issue Reporter)
    0	    70	 15956	   shared-process

Remote: SSH: paul.xpedigo.dev
CPU %	Mem MB	   PID	Process
    5	     0	 23491	remote agent
    0	     0	 23859	   extensionHost
    0	     0	 23913	     CodeStream
    0	     0	 24069	     /home/xpedigo/.vscode-server/bin/e790b931385d72cf5669fcefc51cdf65990efa5d/node /home/xpedigo/.vscode-server/extensions/bmewburn.vscode-intelephense-client-1.5.4/node_modules/intelephense/lib/intelephense.js --node-ipc --clientProcessId=23859
    0	     0	 24159	     /bin/bash
    0	     0	 23870	   watcherService
    0	     0	 24235	   /bin/sh -c /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 24236	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
Workspace Info

|  Remote: SSH: paul.xpedigo.dev|    Folder (xpedigo-api): 14505 files|      File types: php(9244) txt(698) json(396) md(283) css(134) xml(90)
|                  yml(76) stub(58) rst(55) gitignore(46)
|      Conf files: makefile(6) package.json(3) launch.json(1) settings.json(1)
|                  tsconfig.json(1) webpack.config.js(1)
|      Launch Configs: php;
Extensions (24)
Extension Author (truncated) Version
project-manager ale 11.3.0
auto-close-tag for 0.5.8
dotenv mik 1.0.1
vscode-apache mrm 1.2.0
remote-containers ms- 0.140.1
remote-ssh ms- 0.55.0
remote-ssh-edit ms- 0.55.0
remote-wsl ms- 0.44.5
vscode-remote-extensionpack ms- 0.20.0
code-settings-sync Sha 3.4.3
Bookmarks ale 11.3.1
vscode-intelephense-client bme 1.5.4
codestream Cod 8.3.7
xml Dot 2.5.1
gitlens eam 10.2.2
vscode-html-css ecm 0.2.3
php-debug fel 1.13.0
vscode-pull-request-github Git 0.20.0
beautify Hoo 1.5.0
git-graph mhu 1.26.0
vetur oct 0.27.3
vscode-zipexplorer sle 0.3.1
html-preview-vscode tht 0.2.5
vscodeintellicode Vis 1.2.10

(1 theme extensions excluded)

ur clipboard because it was too large to send. Please paste.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

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.

Ack, thanks!

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 :

https://ttprivatenew.s3.amazonaws.com/pulse/paul-xpedigo/attachments/14714803/TinyTake18-09-2020-05-46-29.mp4

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 :

https://ttprivatenew.s3.amazonaws.com/pulse/paul-xpedigo/attachments/14714821/TinyTake18-09-2020-05-49-49.mp4

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 code --disable-gpu , does not change anything.

Photoshop is smooth also for information.

This is very strange

Thank you a lot for your help.