feat: run load bench on PostgreSQL with query plans

- bench stand is a separate compose project mtusi-bench (API, Postgres,
  Valkey) with fixed limits, fresh volume per size and migrations
- k6 registers with a password, logs in with Basic and sends Bearer
- VACUUM (ANALYZE) and CHECKPOINT after prefill
- EXPLAIN (ANALYZE, BUFFERS) of the app's history query via auto_explain,
  plus the same query without the index in a rolled back transaction
- Postgres CPU, table and index size in results; storages in passport
- bench_compare checks storage limits, images and settings
- remove inproc.py and make bench_inproc

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 01:21:15 +03:00
co-authored by Claude Opus 5.5
parent 5582302d68
commit e76eed789f
23 changed files with 2443 additions and 1084 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ coverage/
graphify-out/
# make bench_quick: самопроверка стенда, не результат
evidence/bench/quick-*/
# пробные запуски bench_inproc и сравнения пробных меток
evidence/profile/quick-*.txt
# сравнения пробных меток
evidence/compare/*quick-*
# Keep small, sanitized evidence summaries in evidence/ under version control.
# Inspect git diff --cached: ignore rules are not a secret scanner.