Skip to content

Commit

Permalink
[CSharp] Match AOT settings with JIT settings (#9430)
Browse files Browse the repository at this point in the history
* [CSharp] Match AOT settings with JIT settings

JIT disables threadpool hillclimbing here: https://github.com/TechEmpower/FrameworkBenchmarks/blob/c0164be4be7c5ffca6b799b81e03eff6559bbb7a/frameworks/CSharp/aspnetcore/aspnetcore.dockerfile#L10C12-L10C32. AOT uses a different mechanism.

* Update Platform.csproj
  • Loading branch information
MichalStrehovsky authored Dec 2, 2024
1 parent 9d90d29 commit 400a993
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frameworks/CSharp/aspnetcore/src/Platform/Platform.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@
<PropertyGroup Condition="$(PublishAot) == 'true'">
<DefaultItemExcludes>$(MSBuildThisFileDirectory)Templates/**;$(DefaultItemExcludes)</DefaultItemExcludes>
</PropertyGroup>
<ItemGroup Condition="$(PublishAot) == 'true'">
<RuntimeHostConfigurationOption Include="System.Threading.ThreadPool.HillClimbing.Disable" Value="true" />
</ItemGroup>

</Project>

0 comments on commit 400a993

Please sign in to comment.