MCPcopy
hub / github.com/nats-io/nats.go / HasSamples

Method HasSamples

bench/bench.go:265–267  ·  view source on GitHub ↗

HasSamples returns true if the group has samples

()

Source from the content-addressed store, hash-verified

263
264// HasSamples returns true if the group has samples
265func (sg *SampleGroup) HasSamples() bool {
266 return len(sg.Samples) > 0
267}
268
269// Report returns a human readable report of the samples taken in the Benchmark
270func (bm *Benchmark) Report() string {

Callers 4

AvgRateMethod · 0.95
StdDevMethod · 0.95
CloseMethod · 0.80
ReportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected