perf

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUUtilization

type CPUUtilization struct {
	HostTotal   float64 `json:"host_total"`
	RemoteTotal float64 `json:"remote_total"`
}

type GetNetworkPerformanceMeasures

type GetNetworkPerformanceMeasures struct {
	ResultTag          string
	KubeConfigFilePath string
	JsonOutputFile     string
}

func (*GetNetworkPerformanceMeasures) Prevalidate

func (v *GetNetworkPerformanceMeasures) Prevalidate() error

func (*GetNetworkPerformanceMeasures) Run

func (*GetNetworkPerformanceMeasures) Stop

type GetNetworkRegressionResults

type GetNetworkRegressionResults struct {
	BaseResultsFile       string
	NewResultsFile        string
	RegressionResultsFile string
}

func (*GetNetworkRegressionResults) Prevalidate

func (v *GetNetworkRegressionResults) Prevalidate() error

func (*GetNetworkRegressionResults) Run

func (*GetNetworkRegressionResults) Stop

type PublishPerfResults

type PublishPerfResults struct {
	ResultsFile string
}

func (*PublishPerfResults) Prevalidate

func (v *PublishPerfResults) Prevalidate() error

func (*PublishPerfResults) Run

func (v *PublishPerfResults) Run() error

func (*PublishPerfResults) Stop

func (v *PublishPerfResults) Stop() error

type RegressionResult

type RegressionResult struct {
	Label       string             `json:"label"`
	TestInfo    TestInfo           `json:"test_info"`
	Benchmark   map[string]float64 `json:"benchmark"`
	Result      map[string]float64 `json:"result"`
	Regressions map[string]float64 `json:"regressions"`
}

type Result

type Result struct {
	TestInfo        TestInfo       `json:"test_info"`
	TotalThroughput float64        `json:"total_throughput"`
	MeanRTT         float64        `json:"mean_rtt"`
	MinRTT          float64        `json:"min_rtt"`
	MaxRTT          float64        `json:"max_rtt"`
	Retransmits     int            `json:"retransmits"`
	CPUUtilization  CPUUtilization `json:"cpu_utilization"`
	JitterMs        float64        `json:"jitter_ms"`
	LostPackets     int            `json:"lost_packets"`
	LostPercent     float64        `json:"lost_percent"`
	OutofOrder      int            `json:"out_of_order"`
}

type TestInfo

type TestInfo struct {
	Protocol string `json:"protocol"`
	Streams  int    `json:"streams"`
	Blksize  int    `json:"blksize"`
	Duration int    `json:"duration"`
}

type TestResult

type TestResult struct {
	Label  string `json:"label"`
	Result Result `json:"result"`
}

Jump to

Keyboard shortcuts

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