mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-15 10:07:03 +00:00
also add an unitested windows batch file for the big benchmark for use with autobuilds/releases (git users still shall use the .sh)
This commit is contained in:
parent
75336835c7
commit
d7c5fddb95
57
misc/tools/the-big-benchmark.bat
Normal file
57
misc/tools/the-big-benchmark.bat
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user