benchmark

package
v0.0.46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const PebbleDBBackendName = "pebbledb"
View Source
const RocksDBBackendName = "rocksdb"

Variables

View Source
var (

	// TODO: Will include rocksdb, pebbledb and sqlite in future PR's
	ValidDBBackends = map[string]bool{
		RocksDBBackendName:  true,
		PebbleDBBackendName: true,
	}
)

Functions

func DBIteration

func DBIteration(inputKVDir string, numVersions int, outputDir string, dbBackend string, concurrency int, maxOps int64, iterationSteps int)

BenchmarkDBIteration read latencies and throughput of db backend

func DBIterationCmd

func DBIterationCmd() *cobra.Command

func DBRandomRead

func DBRandomRead(inputKVDir string, numVersions int, outputDir string, dbBackend string, concurrency int, maxOps int64)

BenchmarkRead read latencies and throughput of db backend

func DBRandomReadCmd

func DBRandomReadCmd() *cobra.Command

func DBReverseIteration

func DBReverseIteration(inputKVDir string, numVersions int, outputDir string, dbBackend string, concurrency int, maxOps int64, iterationSteps int)

BenchmarkDBReverseIteration reverse iteration performance of db backend

func DBReverseIterationCmd

func DBReverseIterationCmd() *cobra.Command

func DBWrite

func DBWrite(inputKVDir string, numVersions int, outputDir string, dbBackend string, concurrency int, batchSize int)

BenchmarkWrite write latencies and throughput of db backend

func DBWriteCmd

func DBWriteCmd() *cobra.Command

func GenerateCmd

func GenerateCmd() *cobra.Command

func GenerateData

func GenerateData(dbDir string, modules []string, outputDir string, version int, chunkSize int)

Outputs the raw keys and values for all modules at a height to a file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL