netsuite-suitecloud-sdk
netsuite-suitecloud-sdk copied to clipboard
Changing editor tabs causes system lag
Select the SuiteCloud tool where you encountered the issue
SuiteCloud Extension for VSCode
Version of the SuiteCloud Tool
v1.6.0
Operating system
Windows 10
Node Version / VSCode Version
v20.9.0
JAVA Version
java 17.0.10+11-LTS-240
Bug description
Type: Performance Issue
Full system slowdown for 5-8 seconds when changing tabs in VSCode. Used the Extension Biset feature to isolate the SuiteCloud extension as the culprit
Extension version: 1.6.0 VS Code version: Code 1.87.1 (1e790d77f81672c49be070e04474901747115651, 2024-03-06T00:21:36.258Z) OS version: Windows_NT x64 10.0.19045 Modes:
System Info
Item | Value |
---|---|
CPUs | 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 1805) |
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 skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | undefined |
Memory (System) | 31.73GB (15.29GB free) |
Process Argv | --crash-reporter-id af82388d-2eb5-4c4f-b138-07764eaf55b8 |
Screen Reader | no |
VM | 0% |
Process Info
CPU % Mem MB PID Process
2 144 22196 code main
0 207 5392 extensionHost [2]
0 87 8236 electron-nodejs (start-server.js )
0 133 12812 "C:\Users\pkennedy\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\pkennedy\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=5392
0 85 15796 electron-nodejs (languageserver.js )
0 86 19232 electron-nodejs (tsserver.js )
0 112 21836 "C:\Users\pkennedy\AppData\Local\Programs\Microsoft VS Code\Code.exe" c:\Users\pkennedy\.vscode\extensions\streetsidesoftware.code-spell-checker-3.0.1\packages\_server\dist\main.cjs --node-ipc --clientProcessId=5392
1 294 24076 electron-nodejs (tsserver.js )
0 88 13460 electron-nodejs (typingsInstaller.js typesMap.js )
0 85 24684 electron-nodejs (eslintServer.js )
0 33 6676 crashpad-handler
0 84 7624 ptyHost
0 11 20272 conpty-agent
0 78 24228 "C:\Program Files\PowerShell\7\pwsh.exe" -noexit -command "try { . \"c:\Users\pkennedy\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
0 49 15864 utility-network-service
0 106 21164 shared-process
0 321 23936 window [1] (Api.ts - non-netsuite-project - UHK Support - Visual Studio Code)
1 120 23960 window [3] (Issue Reporter)
0 211 25916 window [2] (df-ukg-api.js - netsuite-account-customization-sandbox-1 - UHK Support - Visual Studio Code)
0 77 25952 fileWatcher [2]
0 132 27848 window
0 267 28340 gpu-process
0 111 32852 fileWatcher [1]
0 389 33008 extensionHost [1]
0 232 952 electron-nodejs (tsserver.js )
0 127 28044 electron-nodejs (typingsInstaller.js typesMap.js )
0 113 2292 electron-nodejs (eslintServer.js )
0 115 16728 electron-nodejs (languageserver.js )
0 109 24320 electron-nodejs (start-server.js )
0 107 28624 "C:\Users\pkennedy\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\pkennedy\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=33008
0 130 34336 "C:\Users\pkennedy\AppData\Local\Programs\Microsoft VS Code\Code.exe" c:\Users\pkennedy\.vscode\extensions\streetsidesoftware.code-spell-checker-3.0.1\packages\_server\dist\main.cjs --node-ipc --clientProcessId=33008
0 154 34728 electron-nodejs (tsserver.js )
Workspace Info
| Window (df-ukg-api.js - netsuite-account-customization-sandbox-1 - UHK Support - Visual Studio Code)
| Window (Api.ts - non-netsuite-project - UHK Support - Visual Studio Code)
| Folder (netsuite-account-customization-sandbox-1): 681 files
| File types: js(410) csv(17) json(10) md(7) ts(7) gitkeep(6) html(3)
| gitignore(2) xml(2) gif(2)
| Conf files: package.json(2) jsconfig.json(1) project.json(1) gulp.js(1)
| Folder (non-netsuite-project): 593 files
| File types: ts(156) js(143) map(143) md(22) json(20) sh(4) gitignore(2)
| txt(2) yaml(2) editorconfig(1)
| Conf files: package.json(2) launch.json(1) settings.json(1)
| tasks.json(1) tsconfig.json(1)
| Launch Configs: node(2);
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30986170
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:30979542
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
dsvsc020:30976470
Steps To Reproduce
There isn't much needed to reproduce. When the extension is active in either a repo with NetSuite files or one completely devoid of NetSuite files when changing tabs/editors the system heavily lags for 5-8 seconds. The mouse buffers and slowly works its way through the path.
- Open project with SuiteCloud extension installed
- Open several editors
- Switch between editors and wiggle mouse
Actual Output
No response
Expected Output
No response
Anything else?
No response
Hi @df-pkennedy Thanks for your message and all the info you shared with us. I cannot replicate the issue with a project of similar size than yours. However, could you please share with us the following?
-
A screenshot of your environment, I am specially interested in the info that appears in the status bar like in the follow image.
-
Could you try to install version 1.3.2 of our VsCode Extension and see if you have similar problem? We have some suspicion about a feature that was inserted after.
Thanks.
@df-pkennedy I dont think this is related to the suitecloud extension. Can you try increasing the allocated resources in VSCode?
You can increase/decrease the available RAM for VS Code on its Settings. Go to File -> Preferences -> Settings, there you can type files.maxMemoryForLargeFilesMB and change the value for your desired maximum RAM. Restart VSCode and try again.
Closing because of no response