Skip to content

Commit

Permalink
xz: add compression reate to Writer benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
ulikunitz committed Dec 9, 2022
1 parent 886dc9a commit 5535077
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions writer_test.go
Expand Up @@ -199,4 +199,5 @@ func BenchmarkWriter(b *testing.B) {
b.Fatalf("w.Write(data)")
}
}
b.ReportMetric(float64(buf.Len())/float64(len(data)), "rate")
}

0 comments on commit 5535077

Please sign in to comment.