From 85dea3ab707b14a4188e6cf4d77cc34eacbefa8a Mon Sep 17 00:00:00 2001 From: JustArchi Date: Fri, 3 Jun 2016 00:16:31 +0200 Subject: [PATCH] Mono: Prefer performance over memory Every user can further fine-tune it however he wishes with https://github.com/JustArchi/ArchiSteamFarm/wiki/Low-memory-setup --- ArchiSteamFarm/ArchiSteamFarm.csproj | 2 +- ConfigGenerator/ConfigGenerator.csproj | 2 +- cc.sh | 2 +- run.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index cee94f06f..b9380d515 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -170,7 +170,7 @@ cp "$(TargetDir)config/ASF.json" "$(SolutionDir)out/config" cp "$(TargetDir)config/example.json" "$(SolutionDir)out/config" cp "$(TargetDir)config/minimal.json" "$(SolutionDir)out/config" - mono --desktop --llvm -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" + mono --llvm --server -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" rm "$(SolutionDir)out/ASF.exe.config" diff --git a/ConfigGenerator/ConfigGenerator.csproj b/ConfigGenerator/ConfigGenerator.csproj index c76e9dcfc..a729f2871 100644 --- a/ConfigGenerator/ConfigGenerator.csproj +++ b/ConfigGenerator/ConfigGenerator.csproj @@ -109,7 +109,7 @@ del "$(SolutionDir)out\ASF-ConfigGenerator.exe.config" - mono --desktop --llvm -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" + mono --llvm --server -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" rm "$(SolutionDir)out/ASF-ConfigGenerator.exe.config" diff --git a/cc.sh b/cc.sh index 6d53172bc..f01216374 100755 --- a/cc.sh +++ b/cc.sh @@ -4,7 +4,7 @@ set -eu BUILD="Release" CLEAN=0 -MONO_ARGS=("--aot" "--desktop" "--llvm" "-O=all") +MONO_ARGS=("--aot" "--llvm" "--server" "-O=all") XBUILD_ARGS=("/nologo") BINARIES=("ArchiSteamFarm/bin/Release/ArchiSteamFarm.exe") SOLUTION="ArchiSteamFarm.sln" diff --git a/run.sh b/run.sh index 8fba9ddc3..d848ad52d 100755 --- a/run.sh +++ b/run.sh @@ -3,7 +3,7 @@ set -eu BUILD="Release" -MONO_ARGS=("--desktop" "--llvm" "-O=all") +MONO_ARGS=("--llvm" "--server" "-O=all") PRINT_USAGE() { echo "Usage: $0 [debug/release]"