bench

package
v0.0.0-...-d94774d Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const TIKV_URL = "tikv://%s?cluster=1&disableGC=false"

Variables

This section is empty.

Functions

func DecodeInt

func DecodeInt(b []byte) ([]byte, int64, error)

func DecodeUintToInt

func DecodeUintToInt(u uint64) int64

func EncodeInt

func EncodeInt(b []byte, v int64) []byte

func EncodeIntToUint

func EncodeIntToUint(v int64) uint64

Types

type BenchClient

type BenchClient struct {
	// contains filtered or unexported fields
}

func NewBenchClient

func NewBenchClient(url string, total, worker, size int, clientType, cmd string) *BenchClient

NewBenchClient creates a BenchClient

func (*BenchClient) OpenTikv

func (client *BenchClient) OpenTikv(tikvURL string)

func (*BenchClient) StartBench

func (client *BenchClient) StartBench()

Jump to

Keyboard shortcuts

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