mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
Prune some duplicated dependencies in the dep graph (#11433)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ use kvdb::{DBTransaction, KeyValueDB};
|
||||
use kvdb_rocksdb::{Database, DatabaseConfig};
|
||||
use std::{io, path::PathBuf, sync::Arc};
|
||||
|
||||
#[derive(Debug, Clone, Copy, derive_more::Display)]
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub enum DatabaseType {
|
||||
RocksDb,
|
||||
ParityDb,
|
||||
|
||||
@@ -155,7 +155,7 @@ impl core::BenchmarkDescription for TrieReadBenchmarkDescription {
|
||||
|
||||
fn name(&self) -> Cow<'static, str> {
|
||||
format!(
|
||||
"Trie read benchmark({} database ({} keys), db_type: {})",
|
||||
"Trie read benchmark({:?} database ({} keys), db_type: {:?})",
|
||||
self.database_size,
|
||||
pretty_print(self.database_size.keys()),
|
||||
self.database_type,
|
||||
@@ -260,7 +260,7 @@ impl core::BenchmarkDescription for TrieWriteBenchmarkDescription {
|
||||
|
||||
fn name(&self) -> Cow<'static, str> {
|
||||
format!(
|
||||
"Trie write benchmark({} database ({} keys), db_type = {})",
|
||||
"Trie write benchmark({:?} database ({} keys), db_type = {:?})",
|
||||
self.database_size,
|
||||
pretty_print(self.database_size.keys()),
|
||||
self.database_type,
|
||||
|
||||
Reference in New Issue
Block a user