utils

package
v0.1.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPUKill added in v0.1.6

func CPUKill(conf *redis.UniversalOptions, count, threads, rps, runs, keylength int, hide bool, prefix string, loop bool) error

func CSVwrite

func CSVwrite(conf *redis.UniversalOptions, ctx context.Context, clients, rps int, csvfile, keyfield, prefix string, hide bool) error

func Exercise

func Exercise(conf *redis.UniversalOptions, size, count, threads, rps, runs int, hide bool, prefix, ratio string) error

func HllBench

func HllBench(
	conf *redis.UniversalOptions,
	hllCount, hllEntryCount, hllRuns, rps int,
	hide, mergeTest bool,
	prefix string,
) error

func HotkeySim

func HotkeySim(conf *redis.UniversalOptions, count, threads, rps, runs int, hide bool, prefix string) error

func KeyCleanup

func KeyCleanup(conf *redis.UniversalOptions, ctx context.Context, prefix string, dryrun bool) error

func RandStringBytes

func RandStringBytes(n int) string

func ShowStats

func ShowStats(tach *tachymeter.Tachymeter, mm *metermaid.Metermaid, showHist bool)

func Stringfill

func Stringfill(
	conf *redis.UniversalOptions,
	size, count, threads, rps, minttl, maxttl int,
	hide bool,
	prefix string,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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