#!/usr/bin/env bash # # memlab.sh — deterministic memory-attribution run for #581. # # The soak answers "did memory grow over eight minutes"; this answers "which # allocation sites retained it", in about a minute, with a fixed request count # so two runs are directly comparable. Everything that made soak numbers hard # to compare — wall-clock duration, background reindexes, crash-recovery # phases, throughput differences between builds — is deliberately absent. # # Usage: scripts/memlab.sh [requests] [label] # # Output: memlab-