Improve default build times on arm64 #21444
Labels
Mac Catalyst
Issues affecting Mac Catalyst
notes-mention
Deserves a mention in release notes
performance
If an issue or pull request is related to performance
Milestone
The default build times for a Mac Catalyst app on arm64 is horrendous:
dotnet new maccatalyst && dotnet build
: 1 minuteEnabling the trimmer or the interpreter makes it much better:
dotnet new maccatalyst && dotnet build /p:UseInterpreter
: 17 secondsdotnet new maccatalyst && dotnet build /p:TrimMode=partial
: 12 secondsdotnet new maccatalyst && dotnet build /p:TrimMode=full
: 12 secondsdotnet new maccatalyst && dotnet build /p:TrimMode=partial /p:UseInterpreter=true
: 12 secondsSo I suggest we enable the trimmer by default for Debug mode on Mac Catalyst (this would match how we handle iOS and tvOS in the simulator + we don't enable the interpreter on any other platform).
The same thing happens for the iOS and tvOS Simulators as well.
The text was updated successfully, but these errors were encountered: