bench

package
v0.0.0-...-b4022b4 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBenchEnded = errors.New("bench ended")

ErrBenchEnded indicates the benchmark has ended, but isn't an error

Functions

func Register

func Register(bencher Bencher)

Types

type Bencher

type Bencher interface {
	Flags(flags *flag.FlagSet)
	Init(threads int) error
	Next() (string, func(threadIndex int) error, error)
	Cleanup()
}

func Benchers

func Benchers() []Bencher

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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