Transaction pool integrated benchmarks (#6579)

* txpool benchmarks

* updated api

* Update bin/node/bench/src/txpool.rs

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
Nikolay Volf
2020-07-17 17:09:18 +03:00
committed by GitHub
parent ae38a806ed
commit cb4c6abca7
5 changed files with 115 additions and 2 deletions
+3
View File
@@ -25,6 +25,7 @@ mod simple_trie;
mod state_sizes;
mod tempdb;
mod trie;
mod txpool;
use structopt::StructOpt;
@@ -37,6 +38,7 @@ use crate::{
import::ImportBenchmarkDescription,
trie::{TrieReadBenchmarkDescription, TrieWriteBenchmarkDescription, DatabaseSize},
construct::ConstructionBenchmarkDescription,
txpool::PoolBenchmarkDescription,
};
#[derive(Debug, StructOpt)]
@@ -148,6 +150,7 @@ fn main() {
size: SizeType::Large,
database_type: BenchDataBaseType::RocksDb,
},
PoolBenchmarkDescription { database_type: BenchDataBaseType::RocksDb },
);
if opt.list {