Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## [unreleased]

### Changed

- Faster builds: released binaries now use the server garbage collector and have dynamic PGO (`TieredPGO`) turned off.
A build without build cache of a ~2650 source project went from ~27 s to ~22 s and one with build cache from ~20 s to
~17 s, at the cost of ~170 MB more memory and ~30-100 ms slower start. `DOTNET_gcServer=0` and `DOTNET_TieredPGO=1`
restore the previous behavior.

## 7.1.0

### Changed
Expand Down
6 changes: 6 additions & 0 deletions bb/bb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
<!-- Trimming drops precompiled code even from framework, without it everything is JIT compiled on each start -->
<PublishReadyToRun>true</PublishReadyToRun>
<InvariantGlobalization>true</InvariantGlobalization>
<!-- A build is a short CPU bound run with a lot of allocations: parallel GC pauses are much shorter and instrumented
tier-0 code (dynamic PGO) costs more than it gains in a process which lives for tens of seconds -->
<TieredPGO>false</TieredPGO>
</PropertyGroup>
<ItemGroup>
<RuntimeHostConfigurationOption Include="System.GC.Server" Value="true"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../Lib/Lib.csproj"/>
</ItemGroup>
Expand Down
Loading