forked from mtusi2026/mtusi2026lab3
19 lines
826 B
Bash
Executable File
19 lines
826 B
Bash
Executable File
#!/bin/sh
|
|
# Полная серия трека 1: base (SEND_STRATEGY=multi) и improved (function); см. REPORT.md. Занимает ~35 минут.
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
PY="${PY:-python}"
|
|
export PYTHONUTF8=1
|
|
set_strategy() {
|
|
SEND_STRATEGY="$1" docker compose --env-file .env up -d --no-deps --force-recreate api >/dev/null 2>&1
|
|
sleep 12
|
|
}
|
|
set_strategy multi
|
|
$PY research/scaling.py --series A --concurrency 64 --tag base --out evidence
|
|
$PY research/scaling.py --series B --concurrency 64 --tag base --out evidence
|
|
$PY research/scaling.py --series B --concurrency 64 --pg-cpus 4 --tag base_pg4 --out evidence
|
|
set_strategy function
|
|
$PY research/scaling.py --series A --concurrency 64 --tag improved --out evidence
|
|
$PY research/scaling.py --series B --concurrency 64 --tag improved --out evidence
|
|
echo ALL-DONE
|