Skip to content

Commit

Permalink
chore: temporarily remove base bench
Browse files Browse the repository at this point in the history
Signed-off-by: iGxnon <[email protected]>
  • Loading branch information
iGxnon committed Mar 12, 2024
1 parent 3bfddce commit b3df797
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions ci/scripts/run-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ci/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b3df797

Please sign in to comment.