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

Perf regression in VSCode extension with bicepconfig.json configuration file #3045

Closed
anthony-c-martin opened this issue Jun 4, 2021 · 2 comments · Fixed by #3044
Closed

Comments

@anthony-c-martin
Copy link
Member

The Bicep 0.4.1 language server lags behind significantly when running on OSX with a bicepconfig.json file.

With dotnet profiling, looks like the issue is that the FileSystem.Watcher class is invoked a lot via the ConfigHelper class, which has known performance issues on non-Windows platforms (dotnet/runtime#42036):

image

@ghost ghost added the Needs: Triage 🔍 label Jun 4, 2021
@anthony-c-martin
Copy link
Member Author

Thanks @miqm for noticing and reporting this!

@miqm
Copy link
Collaborator

miqm commented Jun 4, 2021

Temporary fix: remove bicepconfig.json from folder tree.

@ghost ghost locked as resolved and limited conversation to collaborators May 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants