Documentation ¶
Index ¶
- func Average(vals []float64) (float64, error)
- func CheckHostResults(s ScenarioResults) bool
- func ConfidenceInterval(vals []float64, ci float64) (float64, float64, float64)
- func Percentile(vals []float64, ptile float64) (float64, error)
- func ShowLatencyResult(s ScenarioResults)
- func ShowNodeCPU(s ScenarioResults)
- func ShowPodCPU(s ScenarioResults)
- func ShowRRResult(s ScenarioResults)
- func ShowSpecificResults(s ScenarioResults)
- func ShowStreamResult(s ScenarioResults)
- type Data
- type Diff
- type DiffData
- type Metadata
- type ScenarioResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHostResults ¶
func CheckHostResults(s ScenarioResults) bool
CheckHostResults will check to see if there are hostNet results returns true if there are results with hostNetwork
func ConfidenceInterval ¶ added in v0.1.18
Confidence accepts array of floats to calculate average
func Percentile ¶
Percentile accepts array of floats and the desired %tile to calculate
func ShowLatencyResult ¶
func ShowLatencyResult(s ScenarioResults)
ShowLatencyResult accepts NetPerfResults to display to the user via stdout
func ShowNodeCPU ¶
func ShowNodeCPU(s ScenarioResults)
ShowNodeCPU accepts ScenarioResults and presents to the user via stdout the NodeCPU info
func ShowPodCPU ¶
func ShowPodCPU(s ScenarioResults)
ShowPodCPU accepts ScenarioResults and presents to the user via stdout the PodCPU info
func ShowRRResult ¶
func ShowRRResult(s ScenarioResults)
ShowRRResult will display the RR transaction results Currently showing the Avg Value.
func ShowSpecificResults ¶ added in v0.1.8
func ShowSpecificResults(s ScenarioResults)
ShowSpecificResults
func ShowStreamResult ¶
func ShowStreamResult(s ScenarioResults)
ShowStreamResult will display the throughput results Currently sharing Avg value
Types ¶
type Data ¶
type Data struct { config.Config Driver string Metric string SameNode bool HostNetwork bool ClientNodeInfo metrics.NodeInfo ServerNodeInfo metrics.NodeInfo Sample sample.Sample StartTime time.Time EndTime time.Time Service bool AcrossAZ bool ThroughputSummary []float64 LatencySummary []float64 LossSummary []float64 RetransmitSummary []float64 ClientMetrics metrics.NodeCPU ServerMetrics metrics.NodeCPU ClientPodCPU metrics.PodValues ServerPodCPU metrics.PodValues }
Data describes the result data
type Diff ¶
func TCPThroughputDiff ¶
func TCPThroughputDiff(s *ScenarioResults) ([]Diff, error)
TCPThroughputDiff accepts the Scenario Results and calculates the %diff. returns