measure

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Measure

func Measure(ctx context.Context, kubeconfigPath, namespace, resultDir string, images []string) error

Types

type Benchmark

type Benchmark struct {
	Image        string        `json:"image"`
	Measurements []Measurement `json:"measurements"`
}

type Measurement

type Measurement struct {
	Start    time.Time     `json:"start"`
	Stop     time.Time     `json:"stop"`
	Duration time.Duration `json:"duration"`
}

type Result

type Result struct {
	Benchmarks []Benchmark `json:"benchmarks"`
}

Jump to

Keyboard shortcuts

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