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?"
35 rm -f data/benchmark.log
41 elif [ -z "$*" ]; then
48 set -- ./Xonotic.app/Contents/MacOS/xonotic-osx-sdl
51 set -- ./xonotic-linux-sdl.sh
54 echo "OS not detected. Usage:"
55 echo " $0 how-to-run-xonotic"
62 echo "Engine log follows:"
63 echo " ==================="
65 for e in omg low med normal high ultra ultimate; do
68 +exec effects-$e.cfg \
70 -benchmarkruns 4 -benchmarkruns_skipfirst \
71 -benchmark demos/the-big-keybench.dem
73 ) >data/engine.log 2>&1
74 cat data/engine.log >> data/benchmark.log
82 echo "Please provide the the following info to the Xonotic developers:"
85 echo " - graphics card (which vendor, which model)"
86 echo " - operating system (including whether it is 32bit or 64bit)"
87 echo " - graphics driver version"
88 echo " - the file benchmark.log in the data directory"