cockroach: Index | Files

package syncbench

import ""


Package Files


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 18 packages (graph) and is imported by 5 packages. Updated 2020-05-14. Refresh now. Tools for package owners.