Skip to content

Instantly share code, notes, and snippets.

@iSeiryu
Created July 22, 2024 14:35
Show Gist options
  • Save iSeiryu/1acd219b6f554da3f0f689e5d96a49d6 to your computer and use it in GitHub Desktop.
Save iSeiryu/1acd219b6f554da3f0f689e5d96a49d6 to your computer and use it in GitHub Desktop.
Dotnet flags to improve runtime performance

.NET significantly improves from a few knobs here DOTNET_TC_AggressiveTiering=1 (to reach the steady-state faster) and DOTNET_GCDynamicAdaptationMode=1 (reduces memory usage down to 40mb for me, but not sure it works on macOS since GC regions are disabled for mac)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment