Documentation
¶
Overview ¶
Package benchcluster gives benchmark binaries one FoundationDB cluster file.
With FDB_BENCH_CLUSTER_FILE set, every benchmark in the process uses that existing cluster and no container is started; the cluster is never written to here. Unset, the first caller starts one FoundationDB container (API 730), as the classic benchmarks do, and Shutdown stops it.
Index ¶
Constants ¶
const EnvClusterFile = "FDB_BENCH_CLUSTER_FILE"
EnvClusterFile names an existing cluster file for every benchmark in the process.
Variables ¶
This section is empty.
Functions ¶
func ClusterFile ¶
ClusterFile returns the process's cluster file, starting the fallback container on first use when EnvClusterFile is unset.
func External ¶
func External() bool
External reports whether the process uses EnvClusterFile. It is meaningful after ClusterFile.
Types ¶
This section is empty.