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

Function BenchmarkModeLargeRandFloatSlice

mode_test.go:61–67  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

59}
60
61func BenchmarkModeLargeRandFloatSlice(b *testing.B) {
62 lf := makeRandFloatSlice(100000)
63 b.ResetTimer()
64 for i := 0; i < b.N; i++ {
65 _, _ = stats.Mode(lf)
66 }
67}

Callers

nothing calls this directly

Calls 2

ModeFunction · 0.92
makeRandFloatSliceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…