|
|
- #! /bin/bash
- set -eu
-
- DATACENTER=single
- VALSETSIZE=4
- BLOCKSIZE=8092
- TX_SIZE=200
- NTXS=$((BLOCKSIZE*4))
- RESULTSDIR=results
- CLOUD_PROVIDER=digitalocean
-
- set +u
- if [[ "$MACH_PREFIX" == "" ]]; then
- MACH_PREFIX=mach
- fi
- set -u
-
- export TMHEAD=`git rev-parse --abbrev-ref HEAD`
- export TM_IMAGE="tendermint/tmbase"
-
- # not a go repo
- set +e
- go get github.com/tendermint/network_testing
- set -e
-
- # install mintnet, netmon
- # TODO: specify branch
-
- go get github.com/tendermint/mintnet
- go get github.com/tendermint/netmon
-
-
- cd $GOPATH/src/github.com/tendermint/network_testing
- bash experiments/exp_throughput.sh $DATACENTER $VALSETSIZE $BLOCKSIZE $TX_SIZE $NTXS $MACH_PREFIX $RESULTSDIR $CLOUD_PROVIDER
-
- # TODO: publish result!
-
- # cleanup
-
- mintnet destroy --machines $MACH_PREFIX[1-$VALSETSIZE]
-
-
|