Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*options)
func WithCluster ¶
WithCluster sets the cluster option of the benchmark. A benchmark will only start once the whole cluster is online.
func WithClusterTimeout ¶
WithClusterTimeout sets the timeout when waiting for the whole cluster to be online
func WithDuration ¶
WithDuration sets the duration of the benchmark.
func WithKvKeySize ¶
WithKvKeySize sets the size of the KV keys of the benchmark.
func WithKvValueSize ¶
WithKvValueSize sets the size of the KV values of the benchmark.
func WithWorkers ¶
WithWorkers sets the number of workers of the benchmark.
func WithWorkload ¶
WithWorkload sets the workload of the benchmark.
Click to show internal directories.
Click to hide internal directories.