Use globalization invariant mode + prefer speed for AOT compilers#86691
Use globalization invariant mode + prefer speed for AOT compilers#86691MichalStrehovsky merged 2 commits intomainfrom
Conversation
|
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsLast time I checked OptimizationPreference=Speed is a free 3% throughput improvement. (And 6% size regression but we're not too sensitive to that.) Cc @dotnet/ilc-contrib
|
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
That can be a separate change. I don't know how to set that. We only run crossgen on top of a jitted runtime if NativeAOT is not supported, so it's basically just Windows x86 and Linux ARM32. We get like a 60% improvement from NativeAOT otherwise :). |

Last time I checked OptimizationPreference=Speed is a free 3% throughput improvement. (And 6% size regression but we're not too sensitive to that.)
Globalization invariant mode removes ICU initialization and that also improves perf. Also makes size smaller.
Cc @dotnet/ilc-contrib