From 04381fd2917ce1cf3a5b6d358a99a2b1777de9d4 Mon Sep 17 00:00:00 2001 From: Dmytro Yurchenko Date: Wed, 7 Dec 2022 17:37:34 +0100 Subject: [PATCH] Ensure that baseline and candidate commits are compared in correct order --- .gitlab/scripts/analyze-results.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/scripts/analyze-results.sh b/.gitlab/scripts/analyze-results.sh index 5db01da8ba..767bd82036 100755 --- a/.gitlab/scripts/analyze-results.sh +++ b/.gitlab/scripts/analyze-results.sh @@ -38,6 +38,6 @@ cd /benchmark-analyzer --outpath="main.json" \ "${ARTIFACTS_DIR}/main_bench.txt" -./benchmark_analyzer compare pairwise --outpath ${REPORTS_DIR}/report.md --format md-nodejs main.json pr.json -./benchmark_analyzer compare pairwise --outpath ${REPORTS_DIR}/report_full.html --format html main.json pr.json +./benchmark_analyzer compare pairwise --baseline='{"config":"baseline"}' --candidate='{"config":"candidate"}' --outpath ${REPORTS_DIR}/report.md --format md-nodejs main.json pr.json +./benchmark_analyzer compare pairwise --baseline='{"config":"baseline"}' --candidate='{"config":"candidate"}' --outpath ${REPORTS_DIR}/report_full.html --format html main.json pr.json