Degraded IL codegen with .NET 9 preview 7 #17607
Labels
Area-Compiler-Optimization
The F# optimizer, release code gen etc.
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Repro steps
We noticed one of our F# tests over in dotnet/runtime got slow enough to time out when we updated to a preview 7 SDK (issue: dotnet/runtime#106603)
p6\dotnet.exe run -c Release
andp7\dotnet.exe run -c Release
. On my machine:Looking at the C# decompilation of the method, I see the following for preview 6:
and the following fore preview 7:
so seems like there are some quite significant differences in the IL codegen.
Expected behavior
Equivalent performance.
Actual behavior
Performance seems degraded.
The text was updated successfully, but these errors were encountered: