Rename client.sh to bench-tps.sh (#6014)

This commit is contained in:
sakridge
2019-09-21 21:12:10 -07:00
committed by Michael Vines
parent 5020a4aa6b
commit 169ece8226
2 changed files with 2 additions and 2 deletions

31
multinode-demo/bench-tps.sh Executable file
View File

@@ -0,0 +1,31 @@
#!/usr/bin/env bash
set -e
here=$(dirname "$0")
# shellcheck source=multinode-demo/common.sh
source "$here"/common.sh
usage() {
if [[ -n $1 ]]; then
echo "$*"
echo
fi
echo "usage: $0 [extra args]"
echo
echo " Run bench-tps "
echo
echo " extra args: additional arguments are pass along to solana-bench-tps"
echo
exit 1
}
if [[ -z $1 ]]; then # default behavior
$solana_bench_tps \
--entrypoint 127.0.0.1:8001 \
--drone 127.0.0.1:9900 \
--duration 90 \
--tx_count 50000 \
else
$solana_bench_tps "$@"
fi