#!/usr/bin/env bash set -euo pipefail # Build and run Tiny-Hot triad with bench-only fast path (SLL→Mag→tiny refill). # Usage: scripts/run_tiny_benchfast_triad.sh [cycles] ROOT_DIR=$(cd "$(dirname "$0")/.." && pwd) cd "$ROOT_DIR" cycles=${1:-60000} echo "[build] system/mimalloc (fast + mi)" make -s bench_fast bench_tiny_hot_mi >/dev/null echo "[build] HAKMEM bench-fastpath" make -s bench_fastpath >/dev/null export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}" echo "[run] triad (bench-fastpath HAKMEM vs System vs mimalloc)" SKIP_BUILD=1 bash scripts/run_tiny_hot_triad.sh "$cycles" echo "[note] Latest CSV printed by triad runner."