Skip to content

Commit 9c15cc8

Browse files
[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.
1 parent c0164be commit 9c15cc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
<PropertyGroup Condition="$(PublishAot) == 'true'">
2929
<DefaultItemExcludes>$(MSBuildThisFileDirectory)Templates/**;$(DefaultItemExcludes)</DefaultItemExcludes>
30+
<RuntimeHostConfigurationOption Include="System.Threading.ThreadPool.HillClimbing.Disable" Value="true" />
3031
</PropertyGroup>
3132

3233
</Project>

0 commit comments

Comments
 (0)