Skip to content

Commit

Permalink
Enable PGO for F# projects (#6598)
Browse files Browse the repository at this point in the history
* Update config.yaml

* feat: enable PGO for F# projects

Closes [C#/F#] Use TieredPGO #6539
  • Loading branch information
ShreyasJejurkar authored Aug 9, 2023
1 parent e7c6a17 commit 3353d94
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 6 deletions.
3 changes: 0 additions & 3 deletions csharp/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
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 3353d94

Please sign in to comment.