How-To: Run Topology Benchmarks¶
Use this procedure to execute benchmark suites and rebuild charts and offline dashboard bundles.
Prerequisites¶
- Initialize the
env/multi-db-docker-envsubmodule. - Install Docker Engine, Docker Compose v2,
make, and Python 3. - Stop unrelated database containers that listen on lab ports.
Warning
Stop competing database stacks before a benchmark run, or port conflicts and shared host CPU skew corrupt latency results.
Procedure¶
- Initialize the submodule directory if it is absent:
- Validate all Bash scripts and Compose files:
- Build the shared
pgbenchandsysbenchcontainer image:
- If no active cluster stack runs, start the target suite or execute the full runner:
- Rebuild the 13 PNG charts and offline HTML explorer from
results/:
Note
Full multi-topology sweeps require more than one hour on a single host. Run a single suite if you have limited time.
Validation¶
Run the test suite to verify CSV schema integrity, PNG headers, and dashboard bundles:
Rollback¶
Clean temporary build caches, generated site directories, and log files:
Related Reference and Analysis¶
- Check metrics in Reference Index.
- Read conflict analysis in Explanation Index.