Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] default $(UseInterpreter) for Debug mode (
#6843) Fixes: #6729 Fixes: #6841 The `dotnet new maui` template enables: <!-- Required for C# Hot Reload --> <UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter> This should really just belong in each platform SDK instead of the template. Additionally, I found the interpreter improves startup times. For example Release builds on a Pixel 5 would get: | Application | JIT Time(ms) | Interpreter Time(ms) | Profiled AOT Time(ms) | |------------------- | ------------:| --------------------:| ---------------------:| | dotnet new android | 244.1 | 210.1 | 165.5 | | dotnet new maui | 887.6 | 717.2 | 469.9 | Source: https://github.com/jonathanpeppers/maui-profiling So there is an improvement to the development loop into doing this.
- Loading branch information