1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-03-05 15:05:51 +02:00
This commit is contained in:
jmacd 2020-05-21 11:18:47 -07:00
parent 2aa0f1496e
commit 17b8543050

View File

@ -45,7 +45,7 @@ func benchmarkHistogramSearchFloat64(b *testing.B, size int) {
b.ResetTimer()
for i := 0; i < b.N; i++ {
agg.Update(ctx, metric.NewFloat64Number(rand.Float64()*inputRange), desc)
_ = agg.Update(ctx, metric.NewFloat64Number(rand.Float64()*inputRange), desc)
}
}
@ -96,7 +96,7 @@ func benchmarkHistogramSearchInt64(b *testing.B, size int) {
b.ResetTimer()
for i := 0; i < b.N; i++ {
agg.Update(ctx, metric.NewInt64Number(int64(rand.Float64()*inputRange)), desc)
_ = agg.Update(ctx, metric.NewInt64Number(int64(rand.Float64()*inputRange)), desc)
}
}