Skip to content

Commit

Permalink
commit for test
Browse files Browse the repository at this point in the history
  • Loading branch information
welbon committed Oct 11, 2023
1 parent a4f4611 commit 95fc22c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/benchmark_parallel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#RUST_LOG=info cargo bench --features fuzzing -p 'starcoin-transaction-benchmarks'

STARCOIN_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd .. && pwd)"
TXN_NUMS=500000
ACCOUNT_NUMS=100000
TXN_NUMS=5000,10000,50000,100000,500000
ACCOUNT_NUMS=2,10,100,1000,5000,10000,50000,100000

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# Linux
Expand Down Expand Up @@ -39,4 +39,4 @@ IFS=','
power_of_two_str="${power_of_two_array[*]}"

#echo "Power of two array: ${power_of_two_str[@]}"
eval RUST_LOG=info cargo run --release -p "starcoin-transaction-benchmarks" --features fuzzing -- --concurrency-level "32" --txn-nums "$TXN_NUMS" --account-nums="$ACCOUNT_NUMS"
eval RUST_LOG=info cargo run --release -p "starcoin-transaction-benchmarks" --features fuzzing -- --concurrency-level ${power_of_two_str} --txn-nums "$TXN_NUMS" --account-nums="$ACCOUNT_NUMS"

0 comments on commit 95fc22c

Please sign in to comment.