mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
chore: enable dynamic PGO for coreclr
This commit is contained in:
parent
9010efae2d
commit
e7b0da9f7a
1 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ int InitializeClrAndGetEntryPoint(
|
||||||
SetEnvironmentVariable(L"DOTNET_legacyCorruptedStateExceptionsPolicy", L"1");
|
SetEnvironmentVariable(L"DOTNET_legacyCorruptedStateExceptionsPolicy", L"1");
|
||||||
SetEnvironmentVariable(L"COMPLUS_ForceENC", L"1");
|
SetEnvironmentVariable(L"COMPLUS_ForceENC", L"1");
|
||||||
|
|
||||||
|
// Enable Dynamic PGO
|
||||||
|
SetEnvironmentVariable(L"DOTNET_TieredPGO", L"1");
|
||||||
|
SetEnvironmentVariable(L"DOTNET_TC_QuickJitForLoops", L"1");
|
||||||
|
SetEnvironmentVariable(L"DOTNET_ReadyToRun", L"1");
|
||||||
|
|
||||||
#if NDEBUG
|
#if NDEBUG
|
||||||
// This might fix extremely bad performance in some algorithms on insider builds
|
// This might fix extremely bad performance in some algorithms on insider builds
|
||||||
SetEnvironmentVariable(L"COMPlus_ETWEnabled", L"0");
|
SetEnvironmentVariable(L"COMPlus_ETWEnabled", L"0");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue