salesforcedx-vscode: Core Extension start up time - High CPU usage
- Issue Type:
Performance
- Extension Name:
salesforcedx-vscode-core
- Extension Version:
51.10.0
- OS Version:
Windows_NT x64 10.0.17763
- VS Code version:
1.55.2
salesforce.salesforcedx-vscode-core-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 31 (1 by maintainers)
Hey all, we’re excited to let you know the latest version of our extensions 59.5.1 is released! Please give this version a try and let us know if you see any improvements in load times with this fix. Your feedback is valuable to us. Thank you for being part of our journey!
cc: @AnanyaJha @gbockus-sf
Open vscode project lwc-recipes after git clone on company MacBook (M1 Pro, 14", 16 GB):
Open vscode project lwc-recipes after git clone on personal MacBook (M1 Max, 14", 32 GB):
My VSCode is taking long time, like 3minutes to become ready for salesforce coding. I have 8GB Ram and SSD as HDD.
@diyer: Many thanks to you and the team! The update solves the problem on my Mac! Many, many, many thanks!
Hi Team,
Any luck resolving this issue? This issue has been open for the past 2.5+ years, and it still takes a long time to load SFDX projects in VS Code.
Also having this problem.
I’ve tried reinstalling everything from node to jdk, different versions, installation methods etc. but none fixed or substantially mitigated it. I thought it might be related to full disk encryption, but disabling that didn’t help.
The startup time varies wildly; anywhere from two to ten minutes, and it maxes out all threads until it’s done. It’s also worth noting that the improved startup times that rafaelgbo presents are still unacceptable by the standards of VS Code extensions.
It seems like every command has at least a noticeable delay. I added a comment to an apex class and it took over a minute and a half to deploy.
I have been facing the same slow activation of Salesforce Extensions on VS Code on my Windows machine, and by trial and error I seem to have fixed it. I was initially using JDK 17 (more specifically, Eclipse Adoptium 17.0.6+10, for Windowx x64) and my activation times were the one you can see below:
I then uninstalled JDK 17 and installed JDK 11 (more specifically, Eclipse Adoptium 11.0.19+7, for Windowx x64) and my activation times were reduced by a factor of 9 (see below).
Hope this helps!
Are there any updates on this thread? For me the extensions are working even slower, some of them require approx. 3 minutes to load. My machine is lattitude 5420 with 16gb of ram.