Versions in this module Expand all Collapse all v3 v3.4.6 Mar 19, 2020 Changes in this version + func Percentiles(nums []float64) (pcs []float64, data []float64) + type DataPoint struct + AvgLatency time.Duration + MaxLatency time.Duration + MinLatency time.Duration + ThroughPut int64 + Timestamp int64 + type Report interface + Results func() chan<- Result + Run func() <-chan string + Stats func() <-chan Stats + func NewReport(precision string) Report + func NewReportRate(precision string) Report + func NewReportSample(precision string) Report + func NewWeightedReport(r Report, precision string) Report + type Result struct + End time.Time + Err error + Start time.Time + Weight float64 + func (res *Result) Duration() time.Duration + type Stats struct + Average float64 + AvgTotal float64 + ErrorDist map[string]int + Fastest float64 + Lats []float64 + RPS float64 + Slowest float64 + Stddev float64 + TimeSeries TimeSeries + Total time.Duration + type TimeSeries []DataPoint + func (t TimeSeries) Len() int + func (t TimeSeries) Less(i, j int) bool + func (t TimeSeries) String() string + func (t TimeSeries) Swap(i, j int)