@@ -21,7 +21,7 @@ func benchmarkAddCat(numBytes int64, conf testutil.LatencyConfig, b *testing.B)
21
21
}
22
22
}
23
23
24
- var instant = testutil.LatencyConfig {}.All_Instantaneous ()
24
+ var instant = testutil.LatencyConfig {}.AllInstantaneous ()
25
25
26
26
func BenchmarkInstantaneousAddCat1KB (b * testing.B ) { benchmarkAddCat (1 * unit .KB , instant , b ) }
27
27
func BenchmarkInstantaneousAddCat1MB (b * testing.B ) { benchmarkAddCat (1 * unit .MB , instant , b ) }
@@ -34,7 +34,7 @@ func BenchmarkInstantaneousAddCat64MB(b *testing.B) { benchmarkAddCat(64*unit.M
34
34
func BenchmarkInstantaneousAddCat128MB (b * testing.B ) { benchmarkAddCat (128 * unit .MB , instant , b ) }
35
35
func BenchmarkInstantaneousAddCat256MB (b * testing.B ) { benchmarkAddCat (256 * unit .MB , instant , b ) }
36
36
37
- var routing = testutil.LatencyConfig {}.Routing_Slow ()
37
+ var routing = testutil.LatencyConfig {}.RoutingSlow ()
38
38
39
39
func BenchmarkRoutingSlowAddCat1MB (b * testing.B ) { benchmarkAddCat (1 * unit .MB , routing , b ) }
40
40
func BenchmarkRoutingSlowAddCat2MB (b * testing.B ) { benchmarkAddCat (2 * unit .MB , routing , b ) }
@@ -47,7 +47,7 @@ func BenchmarkRoutingSlowAddCat128MB(b *testing.B) { benchmarkAddCat(128*unit.MB
47
47
func BenchmarkRoutingSlowAddCat256MB (b * testing.B ) { benchmarkAddCat (256 * unit .MB , routing , b ) }
48
48
func BenchmarkRoutingSlowAddCat512MB (b * testing.B ) { benchmarkAddCat (512 * unit .MB , routing , b ) }
49
49
50
- var network = testutil.LatencyConfig {}.Network_NYtoSF ()
50
+ var network = testutil.LatencyConfig {}.NetworkNYtoSF ()
51
51
52
52
func BenchmarkNetworkSlowAddCat1MB (b * testing.B ) { benchmarkAddCat (1 * unit .MB , network , b ) }
53
53
func BenchmarkNetworkSlowAddCat2MB (b * testing.B ) { benchmarkAddCat (2 * unit .MB , network , b ) }
@@ -59,7 +59,7 @@ func BenchmarkNetworkSlowAddCat64MB(b *testing.B) { benchmarkAddCat(64*unit.MB,
59
59
func BenchmarkNetworkSlowAddCat128MB (b * testing.B ) { benchmarkAddCat (128 * unit .MB , network , b ) }
60
60
func BenchmarkNetworkSlowAddCat256MB (b * testing.B ) { benchmarkAddCat (256 * unit .MB , network , b ) }
61
61
62
- var hdd = testutil.LatencyConfig {}.Blockstore_7200RPM ()
62
+ var hdd = testutil.LatencyConfig {}.Blockstore7200RPM ()
63
63
64
64
func BenchmarkBlockstoreSlowAddCat1MB (b * testing.B ) { benchmarkAddCat (1 * unit .MB , hdd , b ) }
65
65
func BenchmarkBlockstoreSlowAddCat2MB (b * testing.B ) { benchmarkAddCat (2 * unit .MB , hdd , b ) }
@@ -71,7 +71,7 @@ func BenchmarkBlockstoreSlowAddCat64MB(b *testing.B) { benchmarkAddCat(64*unit.
71
71
func BenchmarkBlockstoreSlowAddCat128MB (b * testing.B ) { benchmarkAddCat (128 * unit .MB , hdd , b ) }
72
72
func BenchmarkBlockstoreSlowAddCat256MB (b * testing.B ) { benchmarkAddCat (256 * unit .MB , hdd , b ) }
73
73
74
- var mixed = testutil.LatencyConfig {}.Network_NYtoSF ().Blockstore_SlowSSD2014 ().Routing_Slow ()
74
+ var mixed = testutil.LatencyConfig {}.NetworkNYtoSF ().BlockstoreSlowSSD2014 ().RoutingSlow ()
75
75
76
76
func BenchmarkMixedAddCat1MBXX (b * testing.B ) { benchmarkAddCat (1 * unit .MB , mixed , b ) }
77
77
func BenchmarkMixedAddCat2MBXX (b * testing.B ) { benchmarkAddCat (2 * unit .MB , mixed , b ) }
0 commit comments