Files
BT411/scratchpad/night14/sp_run.out
T

180 lines
4.9 KiB
Plaintext

+ . /c/git/bt411/scratchpad/night6/bench_common.sh
++ BT_ROOT=/c/git/bt411
++ BT_EXE=/c/git/bt411/build/Release/btl4.exe
++ BT_PIDFILE=/tmp/bt_bench_pids.1200
+ cd /c/git/bt411/content
+ run_one fresh 1
+ taskkill //F //IM btl4.exe
+ sleep 2
+ rm -f sp_fresh_a.log sp_fresh_b.log sp_fresh_relay.log
+ bt_expert_egg MP.EGG SP.EGG
+ sed 's/^experience=.*/experience=expert/' MP.EGG
+ sed -i 's/^map=.*/map=grass/; s/^time=.*/time=day/; s/^vehicle=.*/vehicle=madcat/' SP.EGG
+ export BT_GOTO=enemy BT_GOTO_STOP=120 BT_AUTOFIRE=1 BT_AF_PERIOD=3
+ BT_GOTO=enemy
+ BT_GOTO_STOP=120
+ BT_AUTOFIRE=1
+ BT_AF_PERIOD=3
+ export BT_MP_LOG=1
+ BT_MP_LOG=1
+ bt_launch sp_fresh_b.log SP.EGG 0x0C -net 1601
+ local log=sp_fresh_b.log egg=SP.EGG aff=0x0C
+ shift 3
+ bt_player_env
+ export BT_PLATFORM=glass
+ BT_PLATFORM=glass
+ export BT_START_INSIDE=1
+ BT_START_INSIDE=1
+ export BT_DEV_GAUGES=1
+ BT_DEV_GAUGES=1
+ export BT_LOG=sp_fresh_b.log BT_AFFINITY=0x0C
+ BT_LOG=sp_fresh_b.log
+ BT_AFFINITY=0x0C
+ for _i in 1 2 3 4 5
+ '[' -f /proc/1208/winpid ']'
+ /c/git/bt411/build/Release/btl4.exe -egg SP.EGG -net 1601
+ cat /proc/1208/winpid
+ break
+ sleep 2
+ export BT_GOTO=enemy BT_GOTO_STOP=120 BT_AUTOFIRE=1 BT_AF_PERIOD=3
+ BT_GOTO=enemy
+ BT_GOTO_STOP=120
+ BT_AUTOFIRE=1
+ BT_AF_PERIOD=3
+ export BT_PERF_LOG=1 BT_MP_LOG=1
+ BT_PERF_LOG=1
+ BT_MP_LOG=1
+ export BT_BEAM_SEGFRESH=1
+ BT_BEAM_SEGFRESH=1
+ bt_launch sp_fresh_a.log SP.EGG 0x03 -net 1501
+ local log=sp_fresh_a.log egg=SP.EGG aff=0x03
+ shift 3
+ bt_player_env
+ export BT_PLATFORM=glass
+ BT_PLATFORM=glass
+ export BT_START_INSIDE=1
+ BT_START_INSIDE=1
+ export BT_DEV_GAUGES=1
+ BT_DEV_GAUGES=1
+ export BT_LOG=sp_fresh_a.log BT_AFFINITY=0x03
+ BT_LOG=sp_fresh_a.log
+ BT_AFFINITY=0x03
+ for _i in 1 2 3 4 5
+ '[' -f /proc/1213/winpid ']'
+ /c/git/bt411/build/Release/btl4.exe -egg SP.EGG -net 1501
+ cat /proc/1213/winpid
+ break
+ sleep 5
+ local RELAY=1216
+ sleep 260
+ python ../tools/btconsole.py SP.EGG 127.0.0.1:1501 127.0.0.1:1601
+ kill 1216
+ sleep 3
+ bt_kill_ours
+ '[' -f /tmp/bt_bench_pids.1200 ']'
+ read -r pid
+ '[' -n 10312 ']'
+ taskkill //F //PID 10312
+ read -r pid
+ '[' -n 4220 ']'
+ taskkill //F //PID 4220
+ read -r pid
+ rm -f /tmp/bt_bench_pids.1200
+ sleep 2
+ taskkill //F //IM btl4.exe
+ sleep 3
+ run_one legacy 0
+ taskkill //F //IM btl4.exe
+ sleep 2
+ rm -f sp_legacy_a.log sp_legacy_b.log sp_legacy_relay.log
+ bt_expert_egg MP.EGG SP.EGG
+ sed 's/^experience=.*/experience=expert/' MP.EGG
+ sed -i 's/^map=.*/map=grass/; s/^time=.*/time=day/; s/^vehicle=.*/vehicle=madcat/' SP.EGG
+ export BT_GOTO=enemy BT_GOTO_STOP=120 BT_AUTOFIRE=1 BT_AF_PERIOD=3
+ BT_GOTO=enemy
+ BT_GOTO_STOP=120
+ BT_AUTOFIRE=1
+ BT_AF_PERIOD=3
+ export BT_MP_LOG=1
+ BT_MP_LOG=1
+ bt_launch sp_legacy_b.log SP.EGG 0x0C -net 1601
+ local log=sp_legacy_b.log egg=SP.EGG aff=0x0C
+ shift 3
+ bt_player_env
+ export BT_PLATFORM=glass
+ BT_PLATFORM=glass
+ export BT_START_INSIDE=1
+ BT_START_INSIDE=1
+ export BT_DEV_GAUGES=1
+ BT_DEV_GAUGES=1
+ export BT_LOG=sp_legacy_b.log BT_AFFINITY=0x0C
+ BT_LOG=sp_legacy_b.log
+ BT_AFFINITY=0x0C
+ for _i in 1 2 3 4 5
+ '[' -f /proc/1232/winpid ']'
+ /c/git/bt411/build/Release/btl4.exe -egg SP.EGG -net 1601
+ cat /proc/1232/winpid
+ break
+ sleep 2
+ export BT_GOTO=enemy BT_GOTO_STOP=120 BT_AUTOFIRE=1 BT_AF_PERIOD=3
+ BT_GOTO=enemy
+ BT_GOTO_STOP=120
+ BT_AUTOFIRE=1
+ BT_AF_PERIOD=3
+ export BT_PERF_LOG=1 BT_MP_LOG=1
+ BT_PERF_LOG=1
+ BT_MP_LOG=1
+ export BT_BEAM_SEGFRESH=0
+ BT_BEAM_SEGFRESH=0
+ bt_launch sp_legacy_a.log SP.EGG 0x03 -net 1501
+ local log=sp_legacy_a.log egg=SP.EGG aff=0x03
+ shift 3
+ bt_player_env
+ export BT_PLATFORM=glass
+ BT_PLATFORM=glass
+ export BT_START_INSIDE=1
+ BT_START_INSIDE=1
+ export BT_DEV_GAUGES=1
+ BT_DEV_GAUGES=1
+ export BT_LOG=sp_legacy_a.log BT_AFFINITY=0x03
+ BT_LOG=sp_legacy_a.log
+ BT_AFFINITY=0x03
+ for _i in 1 2 3 4 5
+ '[' -f /proc/1237/winpid ']'
+ /c/git/bt411/build/Release/btl4.exe -egg SP.EGG -net 1501
+ cat /proc/1237/winpid
+ break
+ sleep 5
+ local RELAY=1240
+ sleep 260
+ python ../tools/btconsole.py SP.EGG 127.0.0.1:1501 127.0.0.1:1601
+ kill 1240
+ sleep 3
+ bt_kill_ours
+ '[' -f /tmp/bt_bench_pids.1200 ']'
+ read -r pid
+ '[' -n 8752 ']'
+ taskkill //F //PID 8752
+ read -r pid
+ '[' -n 628 ']'
+ taskkill //F //PID 628
+ read -r pid
+ rm -f /tmp/bt_bench_pids.1200
+ sleep 2
+ taskkill //F //IM btl4.exe
+ sleep 3
+ echo '=================== #149 SEGPERF A/B ==================='
=================== #149 SEGPERF A/B ===================
+ for t in fresh legacy
+ echo '--- fresh ---'
--- fresh ---
+ python -
rstat blocks=116 avg-med=10.46ms maxDraw-med=15.79 maxDraw-worst=729.8 blocks>50ms=0
segperf windows=116 calls-med=471 dirty-med=38 ms-med=0.97 ms-worst=9.06
+ for t in fresh legacy
+ echo '--- legacy ---'
--- legacy ---
+ python -
rstat blocks=121 avg-med=11.21ms maxDraw-med=13.43 maxDraw-worst=645.6 blocks>50ms=0
segperf windows=121 calls-med=364 dirty-med=4 ms-med=0.57 ms-worst=13.45