-
Notifications
You must be signed in to change notification settings - Fork 774
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
Use Multicore JIT for faster Bicep startup times #2804
Comments
Interesting, thanks for the info! |
Indeed. We should benchmark and see how much it helps. |
Building the examples in the repo using this command and a locally-built Bicep in Release: github\bicep\docs\examples [main ≡]> measure-command { gci -Recurse *.bicep | %{ ..\..\src\Bicep.Cli\bin\Release\net5.0\bicep.exe build $_ } } I got these numbers for three consecutive runs: With multicore JIT:
Current main branch version:
|
That's a nice improvement! |
Is your feature request related to a problem? Please describe.
Bicep no longer accepts multiple files in a single command and requires to re-invoke the app in the shell multiple times (related to #1285).
Describe the solution you'd like
Bicep's startup times can potentially be improved by using https://docs.microsoft.com/en-us/dotnet/api/system.runtime.profileoptimization?view=net-5.0 (e.g. roslyn). This might also help the Bicep Lang server for VS code extension.
The text was updated successfully, but these errors were encountered: