Initial commit

This commit is contained in:
Felipe Cardoso
2026-03-25 20:13:15 +01:00
commit c596e38e9e
26 changed files with 2345 additions and 0 deletions

20
bin/benchmark Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Benchmark dispatcher
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
case "${1:-help}" in
setup) exec bash "$SCRIPT_DIR/scripts/benchmark/setup.sh" ;;
baseline) exec bash "$SCRIPT_DIR/scripts/benchmark/run-baseline.sh" "${@:2}" ;;
run) exec bash "$SCRIPT_DIR/scripts/benchmark/run-suite.sh" "${@:2}" ;;
compare) exec bash "$SCRIPT_DIR/scripts/benchmark/compare.sh" "${@:2}" ;;
*)
echo "Usage: benchmark <command> [options]"
echo " setup Ensure toolboxes and test models are ready"
echo " baseline Capture pre-optimization baseline"
echo " run Run full benchmark suite (--tag NAME, --backends LIST)"
echo " compare Compare two runs (DIR1 DIR2)"
exit 1
;;
esac