cockroach: github.com/cockroachdb/cockroach/pkg/cli/syncbench Index | Files

package syncbench

import "github.com/cockroachdb/cockroach/pkg/cli/syncbench"

Index

Package Files

syncbench.go

func Run Uses

func Run(opts Options) error

Run a test of writing synchronously to the RocksDB WAL.

TODO(tschottdorf): this should receive a RocksDB instance so that the caller in cli can use OpenEngine (which in turn allows to use encryption, etc).

type Options Uses

type Options struct {
    Dir         string
    Concurrency int
    Duration    time.Duration
    LogOnly     bool
}

Options holds parameters for the test.

Package syncbench imports 17 packages (graph) and is imported by 2 packages. Updated 2019-07-24. Refresh now. Tools for package owners.