MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / singleValueTrend

Function singleValueTrend

tests/loadtest/tools/queue_benchmark.go:589–599  ·  view source on GitHub ↗
(value float64)

Source from the content-addressed store, hash-verified

587}
588
589func singleValueTrend(value float64) map[string]interface{} {
590 return map[string]interface{}{
591 "avg": value,
592 "min": value,
593 "med": value,
594 "max": value,
595 "p(90)": value,
596 "p(95)": value,
597 "p(99)": value,
598 }
599}
600
601func average(values []float64) float64 {
602 if len(values) == 0 {

Callers 1

buildSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected