Microsoft is exploring adding some configuration settings that will allow us to trade responsiveness for lower CPU usage. (see https://github.com/microsoft/AL/issues/5407#issuecomment-552383258)
Please upvote this idea to have an overall faster Development Experience in VS Code.
Comments
Hi! This will most likely NOT be improving just by avoiding monolithic architectures. The performance degradation happens just the same in a multi-root workspace with multiple extensions in it. We had one support call already the performance was so bad. Not much achieved, though.
By the way, it is not just performance. Also when changing branches (with or without a workspace) or changing the current extension in a workspace will also lead to misleading and wrong CodeAnalyzer output. And here also the only way to fix it is to do a reload or reopen.
To me the way the AL extension handles code analysis and tries to keep all in memory with no way to influence when it starts and stops to run is to blame. Add to that the fact that VS Code is a glorified browser swamping Your RAM just like any web app does ...
Category: Development
The same applies for the publishing process.
https://github.com/microsoft/AL/issues/5475
Category: Development
Business Central Team (administrator)