github.com/IRelaxxx/servefiles/v3@v3.4.6/bench (about) 1 #!/bin/bash -e 2 cd $(dirname $0) 3 4 mkdir -p trend 5 6 vsn=$(git describe --tags --dirty) 7 file=trend/$vsn-$(date '+%Y%m%d').txt 8 echo Writing results to $file 9 10 export GO11MODULE=on 11 12 uname -mors | tee $file 13 go version | tee -a $file 14 go test -bench . | tee -a $file