Skip to content

Commit 400a993

Browse files
[CSharp] Match AOT settings with JIT settings (#9430)
* [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
1 parent 9d90d29 commit 400a993

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frameworks/CSharp/aspnetcore/src/Platform/Platform.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@
2828
<PropertyGroup Condition="$(PublishAot) == 'true'">
2929
<DefaultItemExcludes>$(MSBuildThisFileDirectory)Templates/**;$(DefaultItemExcludes)</DefaultItemExcludes>
3030
</PropertyGroup>
31+
<ItemGroup Condition="$(PublishAot) == 'true'">
32+
<RuntimeHostConfigurationOption Include="System.Threading.ThreadPool.HillClimbing.Disable" Value="true" />
33+
</ItemGroup>
3134

3235
</Project>

0 commit comments

Comments
 (0)