lib

package
v0.0.0-...-94abeab Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT-0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFloat64

func AddFloat64(val *float64, delta float64) (new float64)

func GetData

func GetData(allReq *uint32, successReq *uint32, errorReq *uint32, maxRequest int,
	tableName string, awsRegion string, enableDax bool, DAXEndpoint string, testData []item, threadStartIndex int,
	threadCount int) (getConsumedCapacity float64)

func PutData

func PutData(allReq *uint32, successReq *uint32, errorReq *uint32, maxRequest int, dataSize int,
	tableName string, awsRegion string, enableDax bool, DAXEndpoint string, testData []item, threadStartIndex int,
	threadCount int) (putConsumedCapacity float64)

Types

type DataFlag

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

type Params

type Params struct {
	TableName    *string
	ConcurrentNo *int
	MaxRequest   *int
	PartitionKey *string
	SortKey      *string
	TestDataSize *int
	AwsRegion    *string
	Workload     *string
	SeqPK        *bool
	SeqSK        *bool
	EnableDax    *bool
	DAXEndpoint  *string
}

func (*Params) MakeTestData

func (p *Params) MakeTestData() []item

Jump to

Keyboard shortcuts

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