From d7c5fddb952fbb3dd997a01c31f4b5bf67241749 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 25 Jan 2012 20:02:55 +0100 Subject: [PATCH] also add an unitested windows batch file for the big benchmark for use with autobuilds/releases (git users still shall use the .sh) --- misc/tools/the-big-benchmark.bat | 57 ++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 misc/tools/the-big-benchmark.bat diff --git a/misc/tools/the-big-benchmark.bat b/misc/tools/the-big-benchmark.bat new file mode 100644 index 00000000..7bac5cad --- /dev/null +++ b/misc/tools/the-big-benchmark.bat @@ -0,0 +1,57 @@ +@echo off + +cd ..\.. + +echo The Big Benchmark +echo ================= +echo. +if not exist all goto nogit +echo The ./all script was detected here. +echo Please use the-big-benchmark.sh instead! +exit +:nogit +del data\benchmark.log +del data\engine.log +if "%1" == "" then goto noarg +set xonotic=%1 +goto postarg +if "%ProgramFiles(x86)%" == "" goto bit32 +:bit64 +set xonotic=xonotic-64.exe +goto postarg +:bit32 +set xonotic=xonotic.exe +goto postarg +:postarg +echo. > data/engine.log +echo Engine log follows: >> data/engine.log +echo =================== >> data/engine.log +set p=-nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos/the-big-keybench.dem + +echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-omg.cfg %p% >> data/engine.log +%xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-omg.cfg %p% >> data/engine.log 2>&1 +echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-low.cfg %p% >> data/engine.log +%xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-low.cfg %p% >> data/engine.log 2>&1 +echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-med.cfg %p% >> data/engine.log +%xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-med.cfg %p% >> data/engine.log 2>&1 +echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-normal.cfg %p% >> data/engine.log +%xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-normal.cfg %p% >> data/engine.log 2>&1 +echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-high.cfg %p% >> data/engine.log +%xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-high.cfg %p% >> data/engine.log 2>&1 +echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultra.cfg %p% >> data/engine.log +%xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultra.cfg %p% >> data/engine.log 2>&1 +echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultimate.cfg %p% >> data/engine.log +%xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultimate.cfg %p% >> data/engine.log 2>&1 +type data/engine.log >> data/benchmark.log +del data/engine.log +echo. +echo Please provide the the following info to the Xonotic developers: +echo - CPU speed +echo - memory size +echo - graphics card (which vendor, which model) +echo - operating system (including whether it is 32bit or 64bit) +echo - graphics driver version +echo - the file benchmark.log in the data directory +echo +echo Thank you +pause -- 2.39.2