stage

package
v0.0.0-...-6530c03 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stage

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

Stage allocates and runs a workload. It handles stats for the workload, including reporting. A stage has a two-phase execute: Prepare to set up everything, then Run to execute clients (which execute queries). Run is optional; it's not run when --test is specified on the command line.

func New

func New(cfg config.Stage, gds *data.Scope, stats *stats.Collector) *Stage

func (*Stage) Prepare

func (s *Stage) Prepare(ctxFinch context.Context) error

func (*Stage) Run

func (s *Stage) Run(ctxFinch context.Context)

Jump to

Keyboard shortcuts

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