(b *testing.B)
| 51 | } |
| 52 | |
| 53 | func BenchmarkModeLargeFloatSlice(b *testing.B) { |
| 54 | lf := makeFloatSlice(100000) |
| 55 | b.ResetTimer() |
| 56 | for i := 0; i < b.N; i++ { |
| 57 | _, _ = stats.Mode(lf) |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | func BenchmarkModeLargeRandFloatSlice(b *testing.B) { |
| 62 | lf := makeRandFloatSlice(100000) |
nothing calls this directly
no test coverage detected
searching dependent graphs…