Documentation ¶
Index ¶
- Constants
- Variables
- func DBIteration(inputKVDir string, numVersions int, outputDir string, dbBackend string, ...)
- func DBIterationCmd() *cobra.Command
- func DBRandomRead(inputKVDir string, numVersions int, outputDir string, dbBackend string, ...)
- func DBRandomReadCmd() *cobra.Command
- func DBReverseIteration(inputKVDir string, numVersions int, outputDir string, dbBackend string, ...)
- func DBReverseIterationCmd() *cobra.Command
- func DBWrite(inputKVDir string, numVersions int, outputDir string, dbBackend string, ...)
- func DBWriteCmd() *cobra.Command
- func GenerateCmd() *cobra.Command
- func GenerateData(dbDir string, modules []string, outputDir string, version int, chunkSize int)
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 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 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 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 GenerateCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.