authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-09-14 19:40:40-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-09-14 19:40:40-07:00
logf616c4b91dec3ea4f233a52f6388acc565a6d3b3
treeb21b38b46daaf1d7aa73114bde594bd6d27fa701
parent7a375d6d682855bd639263e17a2575052ab90fdc

fix


2 files changed, 10 insertions(+), 4 deletions(-)

ci/aarch64-linux-release.sh+1-1
...@@ -110,4 +110,4 @@ ninja install...@@ -110,4 +110,4 @@ ninja install
110# After all correctness checking, compare performance against the merge-base.110# After all correctness checking, compare performance against the merge-base.
111cd ..111cd ..
112sh ci/measure-perf-delta.sh "$ZIG" "$TARGET" "$MCPU" "$PREFIX" || \112sh ci/measure-perf-delta.sh "$ZIG" "$TARGET" "$MCPU" "$PREFIX" || \
113 echo "Error occurred measuring the performance delta of this pull request." > build-new/perf.txt113 echo "$TARGET: Error occurred measuring the performance delta of this pull request." > build-new/perf.txt
ci/measure-perf-delta.sh+9-3
...@@ -9,7 +9,7 @@ fi...@@ -9,7 +9,7 @@ fi
99
10ZIG="$1"10ZIG="$1"
11TARGET="$2"11TARGET="$2"
12MPCU="$3"12MCPU="$3"
13PREFIX="$4"13PREFIX="$4"
1414
15git checkout "$GITHUB_BASE_REF"15git checkout "$GITHUB_BASE_REF"
...@@ -37,7 +37,13 @@ ninja install...@@ -37,7 +37,13 @@ ninja install
3737
38cd ..38cd ..
3939
40poop \40OUT="build-new/perf.txt"
41echo "$TARGET perf delta against $GITHUB_BASE_REF:" >"$OUT"
42echo '```' >>"$OUT"
43
44$HOME/local/bin/poop \
41 "build-base/stage3/bin/zig build-exe test/standalone/hello_world/hello.zig" \45 "build-base/stage3/bin/zig build-exe test/standalone/hello_world/hello.zig" \
42 "build-new/stage3/bin/zig build-exe test/standalone/hello_world/hello.zig" \46 "build-new/stage3/bin/zig build-exe test/standalone/hello_world/hello.zig" \
43 > build-new/perf.txt47 >> build-new/perf.txt
48
49echo '```' >>"$OUT"