kopach

package
v0.0.0-...-a838072 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log = cl.NewSubSystem(pkgs.Name(_d), "info")

Functions

func Benchmark

func Benchmark(conf string)

Benchmark generates a benchmark for kopach

Types

type Bench

type Bench struct {
	Name string
	Ops  int
}

Bench is an item in a benchmark

type Benches

type Benches []Bench

Benches is a collection of benchmarks

func (Benches) Len

func (b Benches) Len() int

Len implements the Sorter Len method

func (Benches) Less

func (b Benches) Less(i, j int) bool

Less implements the Sorter Less method

func (Benches) Swap

func (b Benches) Swap(i, j int)

Swap implements the Sorter Swap method

Jump to

Keyboard shortcuts

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