performance

package
v0.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dash

type Dash struct {
}

Dash test implementation

func (Dash) GetTestKeys

func (d Dash) GetTestKeys(tk map[string]interface{}) (interface{}, error)

GetTestKeys generates a summary for a test run

func (Dash) LogSummary

func (d Dash) LogSummary(s string) error

LogSummary writes the summary to the standard output

func (Dash) Run

func (d Dash) Run(ctl *nettests.Controller) error

Run starts the test

type DashTestKeys

type DashTestKeys struct {
	Latency   float64 `json:"connect_latency"`
	Bitrate   float64 `json:"median_bitrate"`
	Delay     float64 `json:"min_playout_delay"`
	IsAnomaly bool    `json:"-"`
}

DashTestKeys for the test TODO: process 'receiver_data' to provide an array of performance for a chart.

type NDT

type NDT struct {
}

NDT test implementation

func (NDT) GetTestKeys

func (n NDT) GetTestKeys(tk map[string]interface{}) (interface{}, error)

GetTestKeys generates a summary for a test run

func (NDT) LogSummary

func (n NDT) LogSummary(s string) error

LogSummary writes the summary to the standard output

func (NDT) Run

func (n NDT) Run(ctl *nettests.Controller) error

Run starts the test

type NDTTestKeys

type NDTTestKeys struct {
	Upload     float64 `json:"upload"`
	Download   float64 `json:"download"`
	Ping       float64 `json:"ping"`
	MaxRTT     float64 `json:"max_rtt"`
	AvgRTT     float64 `json:"avg_rtt"`
	MinRTT     float64 `json:"min_rtt"`
	MSS        float64 `json:"mss"`
	OutOfOrder float64 `json:"out_of_order"`
	PacketLoss float64 `json:"packet_loss"`
	Timeouts   float64 `json:"timeouts"`
	IsAnomaly  bool    `json:"-"`
}

NDTTestKeys for the test

Jump to

Keyboard shortcuts

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