Versions in this module Expand all Collapse all v0 v0.1.3 Aug 2, 2022 v0.1.2 Jul 29, 2022 Changes in this version + type BenchResults struct + Data RunData + Features Features + TestOperation string + type FeatureIndex int + const MaxConcurrentCallsIndex + const MaxFeatureIndex + type Features struct + ArraySize int + BenchTime time.Duration + MaxConcurrentCalls int + Namespace string + Service string + func (f Features) PrintableName(wantFeatures []bool) string + func (f Features) String() string + type Histogram struct + Buckets []HistogramBucket + Count int64 + Max int64 + Min int64 + Sum int64 + SumOfSquares int64 + func NewHistogram(opts HistogramOptions) *Histogram + func (h *Histogram) Add(value int64) error + func (h *Histogram) Clear() + func (h *Histogram) Merge(h2 *Histogram) + func (h *Histogram) Opts() HistogramOptions + func (h *Histogram) Print(w io.Writer) + func (h *Histogram) PrintWithUnit(w io.Writer, unit float64) + func (h *Histogram) String() string + type HistogramBucket struct + Count int64 + LowBound float64 + type HistogramOptions struct + BaseBucketSize float64 + GrowthFactor float64 + MinValue int64 + NumBuckets int + type RunData struct + AllocedBytes float64 + Allocs float64 + Average time.Duration + Fiftieth time.Duration + Ninetieth time.Duration + NinetyNinth time.Duration + RecvOps uint64 + SendOps uint64 + TotalOps uint64 + type Stats struct + func NewStats(numBuckets int) *Stats + func (s *Stats) AddDuration(d time.Duration) + func (s *Stats) EndRun(count uint64) + func (s *Stats) EndUnconstrainedRun(req uint64, resp uint64) + func (s *Stats) GetResults() []BenchResults + func (s *Stats) StartRun(operation string, f Features)