vscode-azurelogicapps
vscode-azurelogicapps copied to clipboard
Extension causes high cpu load
- Issue Type:
Performance
- Extension Name:
vscode-logicapps
- Extension Version:
0.2.32
- OS Version:
Windows_NT x64 10.0.18363
- VSCode version:
1.43.0
:warning: Make sure to attach this file from your home-directory:
:warning:C:\Users\ejordao\ms-azuretools.vscode-logicapps-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
Can you please attach the .cpuprofile.txt file to this issue? Or post a gist and link to it here? Thanks.
Thank you for sharing this profiler data. I will take a look at this as soon as I can.
I took a look at the CPU profiler data. The unresponsiveness is caused by having to load and compile a large number of scripts from the azure-arm-resource
dependency. We can address this by switching from azure-arm-logic
and azure-arm-resource
to @azure/arm-logic
and @azure/arm-resources
, which solve the problem by bundling their scripts.
Ok, I need to change my settings.json for this?
This is a code change which will require updating the extension to use the newer modules instead of the older ones.