Commit c048b6b0 authored by Brian Tiger Chow's avatar Brian Tiger Chow

add mixed benchmark

BenchmarkMixedAddCat1MBXX              2         517168259 ns/op 2.03 MB/s
BenchmarkMixedAddCat2MBXX              2         526999378 ns/op 3.98 MB/s
BenchmarkMixedAddCat4MBXX              2         543184846 ns/op 7.72 MB/s
BenchmarkMixedAddCat8MBXX              2         590800431 ns/op 14.20 MB/s
BenchmarkMixedAddCat16MBX              2         688463619 ns/op 24.37 MB/s
BenchmarkMixedAddCat32MBX              2         881731910 ns/op 38.06 MB/s
BenchmarkMixedAddCat64MBX              1        1254493054 ns/op 53.49 MB/s
BenchmarkMixedAddCat128MB              1        1941335608 ns/op 69.14 MB/s
BenchmarkMixedAddCat256MB              1        4748005512 ns/op 56.54 MB/s

@whyrusleeping

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent e30f497c
......@@ -64,3 +64,15 @@ func BenchmarkBlockstoreSlowAddCat32MB(b *testing.B) { benchmarkAddCat(32*MB, b
func BenchmarkBlockstoreSlowAddCat64MB(b *testing.B) { benchmarkAddCat(64*MB, blockstore, b) }
func BenchmarkBlockstoreSlowAddCat128MB(b *testing.B) { benchmarkAddCat(128*MB, blockstore, b) }
func BenchmarkBlockstoreSlowAddCat256MB(b *testing.B) { benchmarkAddCat(256*MB, blockstore, b) }
var mixed = Config{}.Network_NYtoSF().Blockstore_SlowSSD2014().Routing_Slow()
func BenchmarkMixedAddCat1MBXX(b *testing.B) { benchmarkAddCat(1*MB, mixed, b) }
func BenchmarkMixedAddCat2MBXX(b *testing.B) { benchmarkAddCat(2*MB, mixed, b) }
func BenchmarkMixedAddCat4MBXX(b *testing.B) { benchmarkAddCat(4*MB, mixed, b) }
func BenchmarkMixedAddCat8MBXX(b *testing.B) { benchmarkAddCat(8*MB, mixed, b) }
func BenchmarkMixedAddCat16MBX(b *testing.B) { benchmarkAddCat(16*MB, mixed, b) }
func BenchmarkMixedAddCat32MBX(b *testing.B) { benchmarkAddCat(32*MB, mixed, b) }
func BenchmarkMixedAddCat64MBX(b *testing.B) { benchmarkAddCat(64*MB, mixed, b) }
func BenchmarkMixedAddCat128MB(b *testing.B) { benchmarkAddCat(128*MB, mixed, b) }
func BenchmarkMixedAddCat256MB(b *testing.B) { benchmarkAddCat(256*MB, mixed, b) }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment