-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revalidate perf of batch/server GC settings for fsc, fsi on .NET Framework and .NET Core #13739
Comments
Initially I thought ServerGC being slower as To see this, I took logs using MSBuild So don't rely on This means we should turn ON server GC for the compiler. |
In more detail, I did some more validation on whether Server GC is a gain or a loss. In #13739 I had validated manually that turning gcServer off improved compile time for compiling End-to-end build timings for
This surprised me as the overall compile time is quite heavily dominated by compiling
Adding
This is a huge difference - so I was really confused why this doesn't translate to better end-to-end build times. The memory usage reported by
Then I looked at the actual end-to-end process times and CPU core utilizations reported by
Here the "with server GC" is using 15 cores and is 8% faster, while "without server GC" is using 13 cores So, in short, don't trust |
Here's our latest
So wallclock gain is 10% with Server GC. |
Closing as done. We need to enable Server mode by default, and have removed use of Batch |
This is a tracking issue to make sure we revalidate the settings that we use for GC on both .NET Framework and .NET 6/7.
So the current situation is
The text was updated successfully, but these errors were encountered: