From: Rudolf Polzer Date: Sun, 29 Jan 2012 17:52:13 +0000 (+0100) Subject: always use texture compression in the benchmarks. Running uncompressed doesn't work... X-Git-Tag: xonotic-v0.6.0~30^2^2 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=f4ffb76b1fe9243c92869034a1ddc7f968ab8b9b always use texture compression in the benchmarks. Running uncompressed doesn't work in release builds, and I don't want results to be skewed by git vs release. --- diff --git a/misc/tools/the-big-benchmark/the-big-benchmark.bat b/misc/tools/the-big-benchmark/the-big-benchmark.bat index d18dbde1..4b0c10fd 100644 --- a/misc/tools/the-big-benchmark/the-big-benchmark.bat +++ b/misc/tools/the-big-benchmark/the-big-benchmark.bat @@ -26,7 +26,7 @@ goto postarg if exist data\the-big-benchmark.log del data\the-big-benchmark.log if exist data\benchmark.log del data\benchmark.log if exist data\engine.log del data\engine.log -set p=+developer 1 -nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos/the-big-keybench.dem +set p=+r_texture_dds_load 1 +developer 1 -nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos/the-big-keybench.dem if exist data\benchmark.log del data\benchmark.log echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-omg.cfg %p% > data\engine.log diff --git a/misc/tools/the-big-benchmark/the-big-benchmark.sh b/misc/tools/the-big-benchmark/the-big-benchmark.sh index 1d00595a..5e703d75 100755 --- a/misc/tools/the-big-benchmark/the-big-benchmark.sh +++ b/misc/tools/the-big-benchmark/the-big-benchmark.sh @@ -59,7 +59,7 @@ fi rm -f data/the-big-benchmark.log rm -f data/benchmark.log rm -f data/engine.log -p="+developer 1 -nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos/the-big-keybench.dem" +p="+r_texture_dds_load 1 +developer 1 -nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos/the-big-keybench.dem" for e in omg low med normal high ultra ultimate; do rm -f data/benchmark.log echo + "$@" +exec effects-$e.cfg $p > data/engine.log