This commit is contained in:
Andrew Kelley
2023-09-14 19:40:40 -07:00
parent 7a375d6d68
commit f616c4b91d
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -110,4 +110,4 @@ ninja install
# After all correctness checking, compare performance against the merge-base.
cd ..
sh ci/measure-perf-delta.sh "$ZIG" "$TARGET" "$MCPU" "$PREFIX" || \
echo "Error occurred measuring the performance delta of this pull request." > build-new/perf.txt
echo "$TARGET: Error occurred measuring the performance delta of this pull request." > build-new/perf.txt
+9 -3
View File
@@ -9,7 +9,7 @@ fi
ZIG="$1"
TARGET="$2"
MPCU="$3"
MCPU="$3"
PREFIX="$4"
git checkout "$GITHUB_BASE_REF"
@@ -37,7 +37,13 @@ ninja install
cd ..
poop \
OUT="build-new/perf.txt"
echo "$TARGET perf delta against $GITHUB_BASE_REF:" >"$OUT"
echo '```' >>"$OUT"
$HOME/local/bin/poop \
"build-base/stage3/bin/zig build-exe test/standalone/hello_world/hello.zig" \
"build-new/stage3/bin/zig build-exe test/standalone/hello_world/hello.zig" \
> build-new/perf.txt
>> build-new/perf.txt
echo '```' >>"$OUT"