]> de.git.xonotic.org Git - xonotic/xonotic.git/blob - misc/tools/the-big-benchmark.bat
benchmark fixes
[xonotic/xonotic.git] / misc / tools / the-big-benchmark.bat
1 @echo off\r
2 \r
3 cd %~dp0\r
4 cd ..\..\r
5 \r
6 echo The Big Benchmark\r
7 echo  =================\r
8 echo.\r
9 if not exist all goto nogit\r
10 echo For Git builds, please use the-big-benchmark.sh instead!\r
11 goto end\r
12 :nogit\r
13 del data\benchmark.log\r
14 del data\engine.log\r
15 if "%1" == "" goto noarg\r
16 set xonotic=%1\r
17 goto postarg\r
18 :noarg\r
19 if "%ProgramFiles(x86)%" == "" goto bit32\r
20 :bit64\r
21 set xonotic=xonotic-64.exe\r
22 goto postarg\r
23 :bit32\r
24 set xonotic=xonotic.exe\r
25 goto postarg\r
26 :postarg\r
27 echo. > data\engine.log\r
28 echo Engine log follows: >> data\engine.log\r
29 echo  =================== >> data\engine.log\r
30 set p=+developer 1 -nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos\the-big-keybench.dem\r
31 \r
32 echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-omg.cfg %p% >> data\engine.log\r
33 %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-omg.cfg %p% >> data\engine.log 2>&1\r
34 echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-low.cfg %p% >> data\engine.log\r
35 %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-low.cfg %p% >> data\engine.log 2>&1\r
36 echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-med.cfg %p% >> data\engine.log\r
37 %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-med.cfg %p% >> data\engine.log 2>&1\r
38 echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-normal.cfg %p% >> data\engine.log\r
39 %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-normal.cfg %p% >> data\engine.log 2>&1\r
40 echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-high.cfg %p% >> data\engine.log\r
41 %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-high.cfg %p% >> data\engine.log 2>&1\r
42 echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultra.cfg %p% >> data\engine.log\r
43 %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultra.cfg %p% >> data\engine.log 2>&1\r
44 echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultimate.cfg %p% >> data\engine.log\r
45 %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultimate.cfg %p% >> data\engine.log 2>&1\r
46 type data\engine.log >> data\benchmark.log\r
47 del data\engine.log\r
48 echo.\r
49 echo Please provide the the following info to the Xonotic developers:\r
50 echo  - CPU speed\r
51 echo  - memory size\r
52 echo  - graphics card (which vendor, which model)\r
53 echo  - operating system (including whether it is 32bit or 64bit)\r
54 echo  - graphics driver version\r
55 echo  - the file benchmark.log in the data directory\r
56 echo.\r
57 echo Thank you\r
58 :end\r
59 pause\r