Skip to content

Commit 91b3380

Browse files
committed
add more stores to the benchmark to emulate real world
1 parent ccfdafe commit 91b3380

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bench_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import (
1111

1212
func BenchmarkBlockSTM(b *testing.B) {
1313
stores := []storetypes.StoreKey{StoreKeyAuth, StoreKeyBank}
14+
for i := int64(0); i < 26; i++ {
15+
stores = append(stores, storetypes.NewKVStoreKey(strconv.FormatInt(i, 10)))
16+
}
1417
storage := NewMultiMemDB(stores)
1518
testCases := []struct {
1619
name string

0 commit comments

Comments
 (0)