MCPcopy
hub / github.com/montanaflynn/stats / BenchmarkMinLargeRandFloatSlice

Function BenchmarkMinLargeRandFloatSlice

min_test.go:64–70  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

62}
63
64func BenchmarkMinLargeRandFloatSlice(b *testing.B) {
65 testData := makeRandFloatSlice(100000)
66 b.ResetTimer()
67 for i := 0; i < b.N; i++ {
68 _, _ = stats.Min(testData)
69 }
70}

Callers

nothing calls this directly

Calls 2

MinFunction · 0.92
makeRandFloatSliceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…