Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportPerfSummaries ¶
func ExportPerfSummaries(summaries []PerfSummary, reportDir string) error
ExportPerfSummaries exports Perfsummary in a format compatible with perfdash and saves results in reportDir directory
Types ¶
type LatencyMetric ¶
type LatencyMetric struct { Min time.Duration `json:"Min"` Avg time.Duration `json:"Avg"` Max time.Duration `json:"Max"` Perc50 time.Duration `json:"Perc50"` Perc90 time.Duration `json:"Perc90"` Perc99 time.Duration `json:"Perc99"` }
LatencyMetric captures latency metrics of network performance test
type PerfResult ¶
type PerfResult struct { Timestamp time.Time Latency *LatencyMetric TransactionRateMetric *TransactionRateMetric ThroughputMetric *ThroughputMetric }
PerfResult stores information about single network performance test results
type PerfSummary ¶
type PerfSummary struct { PerfTest PerfTests Result PerfResult }
PerfSummary stores combined metadata information and results of test
type PerfTests ¶
type PerfTests struct { Tool string Test string SameNode bool Scenario string Sample int MsgSize int Duration time.Duration NetQos bool }
PerfTests stores metadata information about performed test
type ThroughputMetric ¶
type ThroughputMetric struct {
Throughput float64 `json:"Throughput"` // Throughput in bytes/s
}
ThroughputMetric captures throughput metric of network performance test
type TransactionRateMetric ¶
type TransactionRateMetric struct {
TransactionRate float64 `json:"Rate"` // Ops per second
}
TransactionRateMetric captures transaction rate metric of network performance test
Click to show internal directories.
Click to hide internal directories.