perf

package
v0.32.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0, Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Benchmark

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

Benchmark puts a workload under load.

func NewBenchmark

func NewBenchmark(base, version string, cfg config.BenchConfig) (*Benchmark, error)

NewBenchmark returns a new benchmark.

func (*Benchmark) Cancel

func (b *Benchmark) Cancel()

Cancel kills the benchmark in progress.

func (*Benchmark) Canceled

func (b *Benchmark) Canceled() bool

Canceled checks if the benchmark was canceled.

func (*Benchmark) Run

func (b *Benchmark) Run(cluster, context string, done func())

Run starts a benchmark.

Jump to

Keyboard shortcuts

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