Files
mtusi2026lab3/scripts/run-track1.sh
T
2026-10-14 15:53:07 +03:00

14 lines
749 B
Bash
Executable File

#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
# 1/2/4 replicas: identical total budget of 2 vCPU and 1024 MiB for all APIs.
python3 student-tests/track1_benchmark.py --label fixed-1 --replicas 1 --api-cpus 2.0 --api-memory 1024M
python3 student-tests/track1_benchmark.py --label fixed-2 --replicas 2 --api-cpus 1.0 --api-memory 512M
python3 student-tests/track1_benchmark.py --label fixed-4 --replicas 4 --api-cpus 0.5 --api-memory 256M
# Resource-growth series: 4 vCPU and 2048 MiB for all APIs.
python3 student-tests/track1_benchmark.py --label growth-2 --replicas 2 --api-cpus 2.0 --api-memory 1024M
python3 student-tests/track1_benchmark.py --label growth-4 --replicas 4 --api-cpus 1.0 --api-memory 512M
python3 student-tests/render_track1_svg.py