HttpArena
Knowledge Base

archive.sh — Manage Result Rounds

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:

  1. Bundles every site/data/results/<framework>.json into a single round file at site/data/rounds/<id>.json, regrouped by <profile>-<conns> so archived rounds keep their existing shape
  2. Records hardware info (CPU, cores, RAM, governor), OS, kernel, Docker version, and git commit
  3. Reads system info from site/data/current.json if available (written by benchmark.sh --save)
  4. Updates the round index at site/data/rounds/index.json
  5. 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 list

Example 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 1

Removes the round's data file and its entry from the index.