Report allocations on benchmarks
- Id
- 0cf6e97ff40ecb06c7d67989b7f64946009b16b1
- Author
- Caio
- Commit time
- 2017-10-29T13:56:27+01:00
Modified tdigest_test.go
data[n] = rand.Float64()
}
+ b.ReportAllocs()
b.ResetTimer()
for n := 0; n < b.N; n++ {
err := t.AddWeighted(data[n], 1)