github.com/waldiirawan/apm-agent-go/v2@v2.2.2/scripts/jenkins/bench.sh (about) 1 #!/usr/bin/env bash 2 set -euxo pipefail 3 4 source ./scripts/jenkins/setenv.sh 5 6 export GOFLAGS='-run=NONE -benchmem -bench=.' 7 export OUT_FILE="build/bench.out" 8 mkdir -p build 9 10 make test | tee ${OUT_FILE} 11 go-junit-report < ${OUT_FILE} > build/junit-apm-agent-go-bench.xml