Skip to content

Commit

Permalink
feat: enable PGO for F# projects
Browse files Browse the repository at this point in the history
Closes [C#/F#] Use TieredPGO the-benchmarker#6539
  • Loading branch information
ShreyasJejurkar committed Aug 9, 2023
1 parent ba69070 commit 0838cf9
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fsharp/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ language:
command: dotnet /usr/src/app/out/web.dll
environment:
ASPNETCORE_URLS: http://*:3000
DOTNET_TieredPGO: 1
DOTNET_TC_QuickJitForLoops: 1
DOTNET_ReadyToRun: 0

framework:
engines:
Expand Down
1 change: 1 addition & 0 deletions fsharp/falco/web.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TieredPGO>true</TieredPGO>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
Expand Down
1 change: 1 addition & 0 deletions fsharp/frank/web.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TieredPGO>true</TieredPGO>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
Expand Down
1 change: 1 addition & 0 deletions fsharp/giraffe-endpoints/web.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<AssemblyName>web</AssemblyName>
<OutputType>Exe</OutputType>
<EnableDefaultContentItems>false</EnableDefaultContentItems>
<TieredPGO>true</TieredPGO>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions fsharp/giraffe/web.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<AssemblyName>web</AssemblyName>
<OutputType>Exe</OutputType>
<EnableDefaultContentItems>false</EnableDefaultContentItems>
<TieredPGO>true</TieredPGO>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions fsharp/saturn/web.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TieredPGO>true</TieredPGO>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions fsharp/suave/web.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TieredPGO>true</TieredPGO>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions fsharp/websharper/web.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<TargetFramework>net7.0</TargetFramework>
<WebSharperProject>Website</WebSharperProject>
<WebProjectOutputDir>$(MSBuildThisFileDirectory)/wwwroot</WebProjectOutputDir>
<TieredPGO>true</TieredPGO>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 0838cf9

Please sign in to comment.