whetstone

package
v0.0.0-...-4f4ce1e Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParallelWhetstoneBenchmark

type ParallelWhetstoneBenchmark struct {
	*WhetstoneBenchmark
}

func NewParallelWhetstoneBenchmark

func NewParallelWhetstoneBenchmark(writer utils.WriterType, printToConsole bool) *ParallelWhetstoneBenchmark

func (*ParallelWhetstoneBenchmark) BenchImplementation

func (b *ParallelWhetstoneBenchmark) BenchImplementation() interface{}

func (*ParallelWhetstoneBenchmark) PopulateResult

func (b *ParallelWhetstoneBenchmark) PopulateResult(benchResult *g.BenchResult, results interface{}) *g.BenchResult

type Whetstone

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

type WhetstoneBenchmark

type WhetstoneBenchmark struct {
	*g.BenchmarkBaseBase
}

func NewWhetstoneBenchmark

func NewWhetstoneBenchmark(writer utils.WriterType, printToConsole bool) *WhetstoneBenchmark

func (*WhetstoneBenchmark) BenchImplementation

func (b *WhetstoneBenchmark) BenchImplementation() interface{}

func (*WhetstoneBenchmark) PopulateResult

func (b *WhetstoneBenchmark) PopulateResult(benchResult *g.BenchResult, whetstoneResult interface{}) *g.BenchResult

func (*WhetstoneBenchmark) Warmup

func (b *WhetstoneBenchmark) Warmup(aspect float64)

type WhetstoneResult

type WhetstoneResult struct {
	MWIPS    float64
	TimeUsed float64
	Output   string
}

func Bench

func Bench(getinput bool, output utils.WriterType) *WhetstoneResult

Jump to

Keyboard shortcuts

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