github.com/fananchong/cstruct-go@v0.0.0-20220616060855-b65d9a2f2e17/benchmark.sh (about) 1 #!/bin/bash 2 3 set -ex 4 5 CUR_DIR=$PWD 6 cd ./benchmarks 7 go test -test.bench=".*" -count=1 cstrucgo_test.go myproto1.pb.go myproto2.pb.go 8 cd $CUR_DIR 9