Add some tests, and add a configurable soak test

This commit is contained in:
James Wilson
2021-07-15 17:18:58 +01:00
parent db8ea9a8f3
commit fd79b3e85b
8 changed files with 369 additions and 68 deletions
@@ -8,6 +8,7 @@ use serde_json::json;
use common::node_types::BlockHash;
pub fn benchmark_throughput_single_shard(c: &mut Criterion) {
/*
let rt = Runtime::new().expect("tokio runtime should start");
// Setup our server and node/feed connections first:
@@ -90,6 +91,7 @@ println!("feed consumed");
})
);
*/
}
criterion_group!(benches, benchmark_throughput_single_shard);