Versions in this module Expand all Collapse all v1 v1.0.1 Jan 16, 2021 v1.0.0 Mar 16, 2020 Changes in this version + var Bar = true + func SetBar(bar bool) + func StartPrint(numParallels int, totalCalls int, clients []Client) + type Body struct + Error bool + RequestSize int64 + ResponseSize int64 + Time int64 + type Client interface + Call func() (RequestSize int64, ResponseSize int64, Ok bool) + type Count struct + type Result struct + AverageBodySizePerRequest float64 + AverageBodySizePerResponse float64 + AverageTimePerRequest float64 + Clients int + Errors int64 + ErrorsPercentile float64 + FastestTimeForRequest float64 + N001thThousandthTime float64 + N010thThousandthTime float64 + N050thThousandthTime float64 + N100thThousandthTime float64 + N250thThousandthTime float64 + N500thThousandthTime float64 + N750thThousandthTime float64 + N900thThousandthTime float64 + N950thThousandthTime float64 + N990thThousandthTime float64 + N999thThousandthTime float64 + Parallels int + RequestRateBytePerSecond float64 + RequestRateMBytePerSecond float64 + RequestsPerSecond float64 + ResponseOk int64 + ResponseOkPercentile float64 + ResponseRateBytePerSecond float64 + ResponseRateMBytePerSecond float64 + SlowestTimeForRequest float64 + TotalCalls int64 + TotalRequestBodySizes int64 + TotalResponseBodySizes int64 + TotalTime float64 + func Start(numParallels int, totalCalls int, clients []Client) *Result + func (statsResult *Result) Format() string + type Stats struct + Clients int + Errors int64 + Parallels int + ResponseOk int64 + Time float64 + Times []int + TotalRequestSize int64 + TotalResponseSize int64 + TotalTime float64