From b5a5aba2022de27a65ffb153630cb3dd9162174d Mon Sep 17 00:00:00 2001 From: SimpleTest Date: Sun, 19 Jul 2026 19:08:16 +0300 Subject: [PATCH] test: record authenticated soak measurements --- .gitignore | 2 + docs/performance.md | 75 +++++++++++++- scripts/load-run.sh | 113 ++++++++++++++++++++ scripts/summarize-docker-stats.py | 167 ++++++++++++++++++++++++++++++ 4 files changed, 356 insertions(+), 1 deletion(-) create mode 100644 scripts/summarize-docker-stats.py diff --git a/.gitignore b/.gitignore index 753cb8f..970f56f 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,8 @@ npm-debug.log /assets/node_modules/ /e2e/node_modules/ /.tools/ +__pycache__/ +*.py[cod] # Local environment files can contain deployment credentials. Keep only the # documented template in Git. diff --git a/docs/performance.md b/docs/performance.md index b2c5482..336f18a 100644 --- a/docs/performance.md +++ b/docs/performance.md @@ -37,6 +37,16 @@ independent PostgreSQL and application secrets. Edit its `LOAD_*` inputs to define a specific experiment. Values in `.env.load.example` are reproducible measurement points, not recommendations. +For a one-run duration that must not rewrite `.env.load`, pass an explicit +experiment override: + +```sh +LOAD_DURATION_OVERRIDE=10m ./scripts/load-run.sh local-soak-YYYYMMDD +``` + +The effective value and whether it came from `.env.load` or the override are +recorded in that run's `environment.txt`. + ## Run and compare replica counts ```sh @@ -52,7 +62,9 @@ Each run writes ignored evidence below `output/performance/