#!/usr/bin/env bash # The quiet batch: every kept change against the one before it, on two lanes (two E-cores of # different clusters), then the chain against the fork point. cd /data/emu/pcengine-rust-fast B=external/bins; O=external/chain; mkdir -p $O ab() { nice python3 scripts/ab.py $B/$1 $B/$2 --frames $3 --cpu $4 ${5:+--extra "$5"} > $O/$1-$2${6:-}.txt 2>&1; } ( ab forkpoint k01 600 31; ab k01 k02 600 31; ab k02 k03 600 31; ab k03 k04 1000 31 ab k04 k05 1000 31; ab k05 k06 1000 31; ab forkpoint k12 600 31 ab forkpoint k12 600 31 "--device lockstep-port" -port ) & ( ab k06 k07 1500 23; ab k07 k08 1500 23; ab k08 k09 1500 23; ab k09 k10 1500 23 ab k10 k11 1500 23; ab k11 k12 1500 23 ab k06 k07 600 23 "--device lockstep-port" -port; ab k10 k11 600 23 "--device lockstep-port" -port ab k12 x13 1500 23 ab k12 k12 1500 23 "" -aa ) & wait tail -n 1 $O/*.txt