archive.sh
Manage benchmark result archives (rounds). Snapshots current results as a named round, lists archived rounds, or deletes a round.
./scripts/archive.sh create <name>
./scripts/archive.sh list
./scripts/archive.sh delete <id>Commands
create
Archives all current benchmark results as a named round.
./scripts/archive.sh create "Round 1 — March 2026"What it does:
- Bundles all
site/data/*.jsonfiles into a single round file atsite/data/rounds/<id>.json - Records hardware info (CPU, cores, RAM, governor), OS, kernel, Docker version, and git commit
- Reads system info from
site/data/current.jsonif available (written bybenchmark.sh --save) - Updates the round index at
site/data/rounds/index.json - Clears
results/and resets site data files to start a fresh round
list
Lists all archived rounds with their ID, name, date, and file size.
./scripts/archive.sh listExample output:
# 1 Round 1 — March 2026 2026-03-15 (1248KB)
# 2 Round 2 — Pre-optimization baseline 2026-03-20 (1305KB)delete
Deletes an archived round by ID.
./scripts/archive.sh delete 1Removes the round’s data file and its entry from the index.