Skip to content

Commit 98d14ad

Browse files
committed
[libc++] Improve output of the comment-triggered benchmarking job
1 parent 5a21128 commit 98d14ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/libcxx-run-benchmarks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,18 @@ jobs:
6767
python -m pip install -r libcxx/utils/requirements.txt
6868
baseline_commit=$(git merge-base ${{ steps.vars.outputs.pr_base }} ${{ steps.vars.outputs.pr_head }})
6969
./libcxx/utils/test-at-commit --commit ${baseline_commit} -B build/baseline -- -sv -j1 --param optimization=speed ${{ steps.vars.outputs.benchmarks }}
70+
./libcxx/utils/consolidate-benchmarks build/baseline | tee baseline.lnt
7071
7172
- name: Run candidate
7273
run: |
7374
source .venv/bin/activate && cd repo
7475
./libcxx/utils/test-at-commit --commit ${{ steps.vars.outputs.pr_head }} -B build/candidate -- -sv -j1 --param optimization=speed ${{ steps.vars.outputs.benchmarks }}
76+
./libcxx/utils/consolidate-benchmarks build/candidate | tee candidate.lnt
7577
7678
- name: Compare baseline and candidate runs
7779
run: |
7880
source .venv/bin/activate && cd repo
79-
./libcxx/utils/compare-benchmarks <(./libcxx/utils/consolidate-benchmarks build/baseline) \
80-
<(./libcxx/utils/consolidate-benchmarks build/candidate) | tee results.txt
81+
./libcxx/utils/compare-benchmarks baseline.lnt candidate.lnt | tee results.txt
8182
8283
- name: Update comment with results
8384
run: |

0 commit comments

Comments
 (0)