From dad3c0dd436c6d41c4318c41fb597ac3e32bcc59 Mon Sep 17 00:00:00 2001 From: iGxnon Date: Tue, 12 Mar 2024 19:35:55 +0800 Subject: [PATCH] chore: temporarily remove base bench Signed-off-by: iGxnon --- ci/scripts/run-benchmark.sh | 25 +++++++++++++------------ ci/workflows/benchmark.yml | 2 +- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/ci/scripts/run-benchmark.sh b/ci/scripts/run-benchmark.sh index 06f7a3d91..8b5add9af 100755 --- a/ci/scripts/run-benchmark.sh +++ b/ci/scripts/run-benchmark.sh @@ -19,17 +19,18 @@ bash ./benchmark.sh xline mv out out_local -echo "=== Benchmark remote changes ===" -export XLINE_IMAGE="ghcr.io/xline-kv/xline:latest" -bash ./benchmark.sh xline -mv out out_remote +# TODO: Uncomment this after 0.7.0 release +# echo "=== Benchmark remote changes ===" +# export XLINE_IMAGE="ghcr.io/xline-kv/xline:latest" +# bash ./benchmark.sh xline +# mv out out_remote echo "=== Merge Outputs ===" -echo -e "## Benchmark\r\n" >> outputs -echo -e "### PR \r\n\`\`\`txt" >> outputs -cat out_local/xline.txt >> outputs -echo "\`\`\`" >> outputs - -echo -e "\r\n### Base \r\n\`\`\`txt" >> outputs -cat out_remote/xline.txt >> outputs -echo "\`\`\`" >> outputs +echo -e "## Benchmark\r\n" >> bench_outputs +echo -e "### PR \r\n\`\`\`txt" >> bench_outputs +cat out_local/xline.txt >> bench_outputs +echo "\`\`\`" >> bench_outputs + +# echo -e "\r\n### Base \r\n\`\`\`txt" >> bench_outputs +# cat out_remote/xline.txt >> bench_outputs +# echo "\`\`\`" >> bench_outputs diff --git a/ci/workflows/benchmark.yml b/ci/workflows/benchmark.yml index 6744d5f83..9f1cce3be 100644 --- a/ci/workflows/benchmark.yml +++ b/ci/workflows/benchmark.yml @@ -3,6 +3,6 @@ steps: if: build.pull_request.labels includes "run-benchmark" command: "ci/scripts/run-benchmark.sh" env: - BUILDKITE_PLUGIN_PR_COMMENT_COMMENT_FILE: "outputs" + BUILDKITE_PLUGIN_PR_COMMENT_COMMENT_FILE: "scripts/bench_outputs" plugins: - ./ci/plugins/pr-comment