mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
chore: set COMPlus_ETWEnabled=0 in release builds
This might fix extremely bad performance in some algorithms on insider builds
This commit is contained in:
parent
06fa1a64a2
commit
da793ac42c
1 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ int InitializeClrAndGetEntryPoint(
|
|||
SetEnvironmentVariable(L"DOTNET_legacyCorruptedStateExceptionsPolicy", L"1");
|
||||
SetEnvironmentVariable(L"COMPLUS_ForceENC", L"1");
|
||||
|
||||
#if NDEBUG
|
||||
// This might fix extremely bad performance in some algorithms on insider builds
|
||||
SetEnvironmentVariable(L"COMPlus_ETWEnabled", L"0");
|
||||
#endif
|
||||
|
||||
wchar_t* dotnet_path;
|
||||
wchar_t* _appdata;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue