7 echo "The Big Benchmark"
8 echo " ================="
11 echo "WARNING: running this script will destroy ANY local changes you"
12 echo "might have on the repository that haven't been pushed yet."
14 if [ x"$1" != x"--yes" ]; then
15 echo "Are you absolutely sure you want to run this?"
33 rm -f data/benchmark.log
39 elif [ -z "$*" ]; then
42 set -- ./Xonotic.app/Contents/MacOS/xonotic-osx-sdl
45 set -- ./xonotic-linux-sdl.sh
48 echo "OS not detected. Usage:"
49 echo " $0 how-to-run-xonotic"
50 echo "On Windows when using a release build or an autobuild,"
51 echo "use the-big-benchmark.bat instead!"
58 echo "Engine log follows:"
59 echo " ==================="
61 for e in omg low med normal high ultra ultimate; do
64 +exec effects-$e.cfg \
66 -benchmarkruns 4 -benchmarkruns_skipfirst \
67 -benchmark demos/the-big-keybench.dem
69 ) >data/engine.log 2>&1
70 cat data/engine.log >> data/benchmark.log
78 echo "Please provide the the following info to the Xonotic developers:"
81 echo " - graphics card (which vendor, which model)"
82 echo " - operating system (including whether it is 32bit or 64bit)"
83 echo " - graphics driver version"
84 echo " - the file benchmark.log in the data directory"