Improve bench-tps stability (#7537)

* Improve bench-tps throughput

* Fix tests

* Fix more tests

* Fix move test

* Drop blockhash poll sleep interval
This commit is contained in:
Justin Starry
2019-12-18 23:50:17 -05:00
committed by GitHub
parent c5b076ec7e
commit 01f44f531e
4 changed files with 163 additions and 90 deletions

View File

@@ -47,11 +47,12 @@ fn test_bench_tps_local_cluster(config: Config) {
let lamports_per_account = 100;
let keypair_count = config.tx_count * config.keypair_multiplier;
let (keypairs, move_keypairs, _keypair_balance) = generate_and_fund_keypairs(
&client,
Some(faucet_addr),
&config.id,
config.tx_count,
keypair_count,
lamports_per_account,
config.use_move,
)