Skip to content

Commit 16eabd3

Browse files
committed
Use DET shell script to run perfcomp
1 parent 6a33311 commit 16eabd3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

etc/perf-pr-comment.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
set -eux
66

77
pushd $DRIVERS_TOOLS/.evergreen >/dev/null
8-
sh run-perf-comp.sh
8+
PROJECT="mongo-go-driver" CONTEXT="GoDriver perf task" TASK="perf" VARIANT="perf" sh run-perf-comp.sh
99

10-
./perfcomp/bin/perfcomp compare --project="mongo-go-driver" ${VERSION_ID}
11-
12-
if [[ -n "${BASE_SHA+set}" && -n "${HEAD_SHA+set}" && "$BASE_SHA" != "$HEAD_SHA" ]]; then
13-
# Parse and generate perf comparison comment.
14-
GOWORK=off ./perfcomp/bin/perfcomp mdreport
10+
if [[ -n "${BASE_SHA+set}" && -n "${HEAD_SHA+set}" && "$BASE_SHA" != "$HEAD_SHA" ]]; then
1511
# Make the PR comment.
1612
target=github_app/create_or_modify_comment.sh
1713
bash $target -m "## 🧪 Performance Results" -c "$(pwd)/perf-report.md" -h $HEAD_SHA -o "mongodb" -n "mongo-go-driver"

0 commit comments

Comments
 (0)