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

Lagging typing after a short while #23

Open
lcapps-luke opened this issue Apr 15, 2023 · 1 comment
Open

Lagging typing after a short while #23

lcapps-luke opened this issue Apr 15, 2023 · 1 comment

Comments

@lcapps-luke
Copy link

Type: Performance Issue

Typing normally and after a while the input will start to lag. This only seems to effect adding new characters. The cursor can still be moved and the delayed input will be "typed" into where the cursor is eventually. It also seems to be possible to still remove characters (with either backspace or del) while it is lagging resulting on some very frustrating behaviour.
This may have started happening since updating to Haxe 4.3.0

Extension version: 1.8.3
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: Yes

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 3600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 31.94GB (22.64GB free)
Process Argv --crash-reporter-id 5b562760-9dc0-4885-8355-485ff71bff4c
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    4	   107	 10504	code main
    0	    89	  5352	fileWatcher [1]
    3	   113	 14200	shared-process
    0	    83	 16388	     ptyHost
    0	     6	  9400	       console-window-host (Windows internal process)
    0	    84	 16944	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Luke\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	    26	 14428	   crashpad-handler
    1	   161	 15160	extensionHost [1]
    0	     2	  2428	     "D:\Program Files\Git\cmd\git.exe" rev-parse --show-toplevel
    0	     5	  8320	       console-window-host (Windows internal process)
    9	    85	  9868	     electron-nodejs ("C:\Users\Luke\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Luke\.vscode\extensions\streetsidesoftware.code-spell-checker-2.20.4\packages\_server\dist\main.js --node-ipc --clientProcessId=15160)
    0	     4	 14012	     C:\WINDOWS\system32\cmd.exe /d /s /c "lime display neko -debug -nocolor -Ddisable-version-check"
    0	    11	  7668	       console-window-host (Windows internal process)
    0	     5	 12792	       lime  display neko -debug -nocolor -Ddisable-version-check
    0	     5	  5532	         C:\WINDOWS\system32\cmd.exe /c haxelib run lime display neko -debug -nocolor -Ddisable-version-check
    0	     8	  7064	           haxelib  run lime display neko -debug -nocolor -Ddisable-version-check
    0	     4	  1388	             C:\WINDOWS\system32\cmd.exe /c neko ^"D:\HaxeToolkit\haxe\lib\haxelib/4^,0^,3/run.n^" run lime display neko -debug -nocolor -Ddisable-version-check ^"d:\git\BitBucket\TurretDefence\TurretDefence/^"
    0	     8	   260	               neko  "D:\HaxeToolkit\haxe\lib\haxelib/4,0,3/run.n" run lime display neko -debug -nocolor -Ddisable-version-check "d:\git\BitBucket\TurretDefence\TurretDefence/"
    0	     4	 16912	                 C:\WINDOWS\system32\cmd.exe /c neko ^"D:\HaxeToolkit\haxe\lib\lime/8^,0^,1/run.n^" display neko -debug -nocolor -Ddisable-version-check ^"d:\git\BitBucket\TurretDefence\TurretDefence/^"
    0	     7	  3464	                   neko  "D:\HaxeToolkit\haxe\lib\lime/8,0,1/run.n" display neko -debug -nocolor -Ddisable-version-check "d:\git\BitBucket\TurretDefence\TurretDefence/"
    0	     4	 12552	                     C:\WINDOWS\system32\cmd.exe /c neko tools/tools.n display neko -debug -nocolor -Ddisable-version-check d:\git\BitBucket\TurretDefence\TurretDefence/
    0	    89	 16492	     electron-nodejs ("C:\Users\Luke\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Luke\.vscode\extensions\nadako.vshaxe-2.28.0\bin\server.js --stdio --clientProcessId=15160)
    0	    32	  6316	       haxe.exe --server-connect 127.0.0.1:63290
    0	    11	 11092	         console-window-host (Windows internal process)
    0	     4	 19196	     C:\WINDOWS\system32\cmd.exe /d /s /c "lime display neko -debug -nocolor -Ddisable-version-check"
    0	    11	  1824	       console-window-host (Windows internal process)
    0	     5	 14268	       lime  display neko -debug -nocolor -Ddisable-version-check
    0	     5	 17160	         C:\WINDOWS\system32\cmd.exe /c haxelib run lime display neko -debug -nocolor -Ddisable-version-check
    0	     8	 18600	           haxelib  run lime display neko -debug -nocolor -Ddisable-version-check
    0	     4	 13268	             C:\WINDOWS\system32\cmd.exe /c neko ^"D:\HaxeToolkit\haxe\lib\haxelib/4^,0^,3/run.n^" run lime display neko -debug -nocolor -Ddisable-version-check ^"d:\git\BitBucket\TurretDefence\TurretDefence/^"
    0	     8	 19236	               neko  "D:\HaxeToolkit\haxe\lib\haxelib/4,0,3/run.n" run lime display neko -debug -nocolor -Ddisable-version-check "d:\git\BitBucket\TurretDefence\TurretDefence/"
    0	     4	 13928	                 C:\WINDOWS\system32\cmd.exe /c neko ^"D:\HaxeToolkit\haxe\lib\lime/8^,0^,1/run.n^" display neko -debug -nocolor -Ddisable-version-check ^"d:\git\BitBucket\TurretDefence\TurretDefence/^"
    0	     7	  4864	                   neko  "D:\HaxeToolkit\haxe\lib\lime/8,0,1/run.n" display neko -debug -nocolor -Ddisable-version-check "d:\git\BitBucket\TurretDefence\TurretDefence/"
    0	     4	 12408	                     C:\WINDOWS\system32\cmd.exe /c neko tools/tools.n display neko -debug -nocolor -Ddisable-version-check d:\git\BitBucket\TurretDefence\TurretDefence/
    1	    39	 16360	   utility-network-service
   14	   337	 16508	window [1] (RouteChoiceState.hx - TurretDefence - Visual Studio Code)
    1	    90	 17220	window [2] (Issue Reporter)
    0	   136	 19076	   gpu-process
Workspace Info
|  Window (RouteChoiceState.hx - TurretDefence - Visual Studio Code)
|    Folder (TurretDefence): 12654 files
|      File types: obj(5046) cpp(2400) h(2232) png(583) json(146) xml(100)
|                  hx(66) class(60) dex(57) gif(53)
|      Conf files: launch.json(1) settings.json(1) tasks.json(1)
|                  package.json(1)
|      Launch Configs: lime(2) haxe-eval;
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
6233i204:30672705
vsctsb:30705553
functionswalk:30687959
pythonms35:30701012
03d35959:30706073
pythonfmttextcf:30710682
pythonclientmv:30713943

@AlexHaxe
Copy link
Member

reports of people experiencing high CPU usage have come in after switching to vscode 1.77.
issue starts when saving Haxe files.

after trying out different approaches to try and fix the issue, I haven't been able to come up with a working solution.
so for now disabling the extension is "the workaround".

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

2 participants