1 parent 886dc9a commit 5535077Copy full SHA for 5535077
1 file changed
writer_test.go
@@ -199,4 +199,5 @@ func BenchmarkWriter(b *testing.B) {
199
b.Fatalf("w.Write(data)")
200
}
201
202
+ b.ReportMetric(float64(buf.Len())/float64(len(data)), "rate")
203
0 commit comments