Add another benchmark.

master
Klaus Post 2015-06-19 18:25:48 +02:00
parent 8296e44d17
commit 67f8d8b8c7
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,10 @@ func BenchmarkEncode100_20_10000(b *testing.B) {
benchmarkEncode(b, 100, 20, 10000)
}
func BenchmarkEncode17_3_1M(b *testing.B) {
benchmarkEncode(b, 17, 3, 1024*1024)
}
// Benchmark 10 data shards and 4 parity shards with 16MB each.
func BenchmarkEncode10_4_16M(b *testing.B) {
benchmarkEncode(b, 10, 4, 16*1024*1024)