]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/the-big-benchmark/the-big-benchmark.sh
don't use playermodel LOD in the big benchmark to not invalidate previous results
[xonotic/xonotic.git] / misc / tools / the-big-benchmark / the-big-benchmark.sh
index 5e703d75531e6f0b3efc13fc3c9c495c8a38209f..d6d74ac65360c1db7dd60a88832547278563a55f 100755 (executable)
@@ -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