X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=misc%2Ftools%2Fthe-big-benchmark%2Fthe-big-benchmark.sh;h=d6d74ac65360c1db7dd60a88832547278563a55f;hb=bf3c9c6735375b72f37f6f1ee84c5a276437733a;hp=5e703d75531e6f0b3efc13fc3c9c495c8a38209f;hpb=f4ffb76b1fe9243c92869034a1ddc7f968ab8b9b;p=xonotic%2Fxonotic.git diff --git a/misc/tools/the-big-benchmark/the-big-benchmark.sh b/misc/tools/the-big-benchmark/the-big-benchmark.sh index 5e703d75..d6d74ac6 100755 --- a/misc/tools/the-big-benchmark/the-big-benchmark.sh +++ b/misc/tools/the-big-benchmark/the-big-benchmark.sh @@ -59,12 +59,12 @@ fi rm -f data/the-big-benchmark.log rm -f data/benchmark.log rm -f data/engine.log -p="+r_texture_dds_load 1 +developer 1 -nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos/the-big-keybench.dem" +p="+r_texture_dds_load 1 +cl_playerdetailreduction 0 +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 "$@" +exec effects-$e.cfg $p >>data/engine.log 2>&1 || true - if grep -xF ']quit' data/engine.log >/dev/null; then + if grep '\]quit' data/engine.log >/dev/null; then break fi cat data/engine.log >> data/the-big-benchmark.log