#!/bin/bash
export ECHO_KEY_LEGACY_OK=1
cd "$(dirname "$0")"
{
  echo "[$(date +%T)] read-full"; python3 bench.py read-full -n 3 --quiet --json-out results/m-read-full.json
  echo "[$(date +%T)] worker-sweep"; python3 bench.py worker-sweep -n 4 --quiet --json-out results/m-worker-sweep.json
  echo "[$(date +%T)] subject-pull"; python3 bench.py subject-pull -n 4 --quiet --json-out results/m-subject-pull.json
  echo "[$(date +%T)] index"; python3 bench.py index --quiet --json-out results/m-index.json
  echo "[$(date +%T)] lint"; python3 bench.py lint --quiet --json-out results/m-lint.json
  echo "[$(date +%T)] DONE"
} > results/run.log 2>&1
touch results/DONE
