File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 44
55set -eux
66
7- pushd ./internal/cmd/perfcomp > /dev/null || exist
8- GOWORK=off go build -o ../../../bin/perfcomp .
9- popd > /dev/null
7+ pushd $DRIVERS_TOOLS /.evergreen > /dev/null
8+ sh run-perf-comp.sh
109
11- # Generate perf report.
12- GOWORK=off ./bin/perfcomp compare --project=" mongo-go-driver" ${VERSION_ID} > ./internal/cmd/perfcomp/perf-report.txt
10+ ./perfcomp/bin/perfcomp compare --project=" mongo-go-driver" ${VERSION_ID}
1311
14- if [[ -n " ${BASE_SHA+set} " && -n " ${HEAD_SHA+set} " && " $BASE_SHA " != " $HEAD_SHA " ]]; then
12+ if [[ -n " ${BASE_SHA+set} " && -n " ${HEAD_SHA+set} " && " $BASE_SHA " != " $HEAD_SHA " ]]; then
1513 # Parse and generate perf comparison comment.
16- GOWORK=off ./bin/perfcomp mdreport
14+ GOWORK=off ./perfcomp/ bin/perfcomp mdreport
1715 # Make the PR comment.
18- target=$DRIVERS_TOOLS /.evergreen/ github_app/create_or_modify_comment.sh
16+ target=github_app/create_or_modify_comment.sh
1917 bash $target -m " ## 🧪 Performance Results" -c " $( pwd) /perf-report.md" -h $HEAD_SHA -o " mongodb" -n " mongo-go-driver"
18+ rm ./perf-report.txt
2019 rm ./perf-report.md
2120else
2221 # Skip comment if it isn't a PR run.
2322 echo " Skipping Perf PR comment"
2423fi
2524
26- rm ./internal/cmd/perfcomp/perf-report.txt
25+ popd > /dev/null
You can’t perform that action at this time.
0 commit comments