github.com/jiajun1992/watercarver@v0.0.0-20191031150618-dfc2b17c0c4a/go-ethereum/benchmarkCT.sh (about) 1 #!/bin/bash 2 3 echo "start building" 4 go build github.com/ethereum/go-ethereum/cmd/cttransaction 5 echo "start testing normal transaction" 6 #test normal transaction 7 ./cttransaction -count 5000 8 echo "start testing ct transaction" 9 #test ct transaction 10 ./cttransaction -ct 11 echo "start testing ct transaction with batch bulletproof" 12 #test ct transaction with batch bulletproof 13 ./cttransaction -ct -batchBulletproof 14 echo "start testing ct transaction with batch bulletproof and regulation" 15 #test ct transaction with batch bulletproof and regulation 16 ./cttransaction -ct -batchBulletproof -regulation 17 echo "start benchmarking" 18 #run benchmark 19 go test github.com/ethereum/go-ethereum/ctcrypto/benchmark -bench=.