From 96aa014d1e299bede81b30d6bb7844739f68b849 Mon Sep 17 00:00:00 2001 From: Simon Mo Date: Thu, 28 Mar 2024 14:35:16 -0700 Subject: [PATCH] fix benchmark format reporting in buildkite (#3693) --- .buildkite/run-benchmarks.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.buildkite/run-benchmarks.sh b/.buildkite/run-benchmarks.sh index 6af6c814..f6a542af 100644 --- a/.buildkite/run-benchmarks.sh +++ b/.buildkite/run-benchmarks.sh @@ -49,7 +49,9 @@ sed -n '$p' benchmark_throughput.txt >> benchmark_results.md # last line echo "### Serving Benchmarks" >> benchmark_results.md sed -n '1p' benchmark_serving.txt >> benchmark_results.md # first line echo "" >> benchmark_results.md -tail -n 13 benchmark_serving.txt >> benchmark_results.md # last 13 lines +echo '```' >> benchmark_results.md +tail -n 20 benchmark_serving.txt >> benchmark_results.md # last 20 lines +echo '```' >> benchmark_results.md # upload the results to buildkite /workspace/buildkite-agent annotate --style "info" --context "benchmark-results" < benchmark_results.md