bench-tps: rename tx_count arg to tx-count for consistency (#31213)
This commit is contained in:
parent
f066ea9f71
commit
843ff9e5d2
|
@ -242,7 +242,8 @@ pub fn build_args<'a>(version: &'_ str) -> App<'a, '_> {
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("tx_count")
|
Arg::with_name("tx_count")
|
||||||
.long("tx_count")
|
.long("tx-count")
|
||||||
|
.alias("tx_count")
|
||||||
.value_name("NUM")
|
.value_name("NUM")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("Number of transactions to send per batch")
|
.help("Number of transactions to send per batch")
|
||||||
|
|
|
@ -23,7 +23,7 @@ args=("$@")
|
||||||
default_arg --entrypoint "127.0.0.1:8001"
|
default_arg --entrypoint "127.0.0.1:8001"
|
||||||
default_arg --faucet "127.0.0.1:9900"
|
default_arg --faucet "127.0.0.1:9900"
|
||||||
default_arg --duration 90
|
default_arg --duration 90
|
||||||
default_arg --tx_count 50000
|
default_arg --tx-count 50000
|
||||||
default_arg --thread-batch-sleep-ms 0
|
default_arg --thread-batch-sleep-ms 0
|
||||||
|
|
||||||
$solana_bench_tps "${args[@]}"
|
$solana_bench_tps "${args[@]}"
|
||||||
|
|
Loading…
Reference in New Issue