Fix benchmarks: set cache_size to higher value (#5585)

* 128 -> 1024

* add trace and set = 512

* fix doc comment
This commit is contained in:
Nikolay Volf
2020-04-09 01:37:26 -07:00
committed by GitHub
parent 5913969f8d
commit 2faabff007
3 changed files with 11 additions and 2 deletions
+9
View File
@@ -243,6 +243,15 @@ pub fn open_database<Block: BlockT>(
db_config.memory_budget = memory_budget;
log::trace!(
target: "db",
"Open database at {}, state column budget: {} MiB, others({}) column cache: {} MiB",
path,
state_col_budget,
NUM_COLUMNS,
other_col_budget,
);
Arc::new(Database::open(&db_config, &path).map_err(db_err)?)
},
#[cfg(not(any(feature = "kvdb-rocksdb", test)))]