#!/usr/bin/env bash
set -euo pipefail
BASE="${1:?Usage: bench_ab.sh <base-branch> <opt-branch>}"
OPT="${2:?Usage: bench_ab.sh <base-branch> <opt-branch>}"

echo "=== A/B comparison: $BASE vs $OPT ==="
bash ~/bench/bench_compare.sh "$BASE"
bash ~/bench/bench_compare.sh "$OPT"

echo ""
echo "Compare results in ~/results/"
ls ~/results/
