edssser

package
v0.13.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EDSSize     int
	EDSWrites   int
	EnableLog   bool
	LogFilePath string
	StatLogFreq int
	OpTimeout   time.Duration
}

type EDSsser

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

EDSsser stand for EDS Store Stresser.

func NewEDSsser

func NewEDSsser(path string, datastore datastore.Batching, cfg Config) (*EDSsser, error)

func (*EDSsser) Run

func (ss *EDSsser) Run(ctx context.Context) (stats Stats, err error)

type Stats

type Stats struct {
	TotalWritten                         int
	TotalTime, MinTime, MaxTime, AvgTime time.Duration
}

func (Stats) Finalize

func (stats Stats) Finalize() Stats

func (Stats) String

func (stats Stats) String() string

Jump to

Keyboard shortcuts

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