analysis

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistogramBucket

type HistogramBucket struct {
	From  time.Duration
	To    time.Duration
	Count int
}

type LatencyStats

type LatencyStats struct {
	Count       int
	Min         time.Duration
	Max         time.Duration
	Mean        time.Duration
	Median      time.Duration
	StdDev      time.Duration
	Percentiles map[int]time.Duration
	Histogram   []HistogramBucket
}

func ComputeLatencyStats

func ComputeLatencyStats(durations []time.Duration, percentiles []int, bins int) LatencyStats

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL