perftest

package
v0.0.0-...-714ef56 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBaselineRunner

func NewBaselineRunner(config *testRunnerConfig, starter VmStarter, infoRetriever *vmdata.VMDataRetriever) *baselineRunner

func NewPerftestExecutor

func NewPerftestExecutor(total int, concurrent int) *perftestExecutor

func NewTestRunnerConfig

func NewTestRunnerConfig(templateData *firecracker.SimpleTemplateData, templateName string, tempPath string, resultPath string) *testRunnerConfig

func NewTpmRunner

func NewTpmRunner(
	config *testRunnerConfig, starter VmStarter,
	inforetriever *vmdata.VMDataRetriever, tpmalloc tpmallocator,
) *tpmRunner

Types

type PerftestRunner

type PerftestRunner interface {
	// Assumed to be blocking
	RunInstance() error
	Finish() error
}

type VmStarter

type VmStarter interface {
	StartVMWithStartTime(config string, started time.Time) (*vmexecution.VMExecution, error)
}

Jump to

Keyboard shortcuts

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