Skip to content

Commit 4e7f117

Browse files
[CI] Adjust benchmark scripts params to new scripts' version
1 parent 31f6b84 commit 4e7f117

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/reusable_benchmarks.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,14 @@ jobs:
136136
taskset -c ${{ env.CORES }} ${{ github.workspace }}/sycl-repo/unified-runtime/scripts/benchmarks/main.py
137137
~/bench_workdir_umf
138138
--umf ${{env.BUILD_DIR}}
139+
--compare baseline
139140
${{ inputs.upload_report && '--output-html' || '' }}
141+
${{ inputs.pr_no != 0 && '--output-markdown' || '' }}
140142
${{ inputs.bench_script_params }}
141143
144+
# In case it failed to add a comment, we can still print the results.
142145
- name: Print benchmark results
143-
if: ${{ always() }}
146+
if: ${{ always() && inputs.pr_no != 0 }}
144147
run: cat ${{env.BUILD_DIR}}/benchmark_results.md
145148

146149
- name: Add comment to PR

0 commit comments

Comments
 (0)