edssser

package
v0.19.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 10 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
	WriteFrom   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, 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