Files
karma/scripts/ci-diff-benchmark-go.sh
2020-05-24 19:13:02 +01:00

16 lines
332 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
set -o pipefail
git fetch origin master
git reset --hard FETCH_HEAD
make benchmark-go | tee master.txt
git reset --hard ${TRAVIS_PULL_REQUEST_SHA}
make benchmark-go | tee new.txt
make benchmark-compare-go | tee benchstat.txt
./scripts/pr-comment.py "Go benchmark diff" benchstat.txt noformat