mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
[libc++] Improve output of the comment-triggered benchmarking job
This commit is contained in:
5
.github/workflows/libcxx-run-benchmarks.yml
vendored
5
.github/workflows/libcxx-run-benchmarks.yml
vendored
@@ -67,17 +67,18 @@ jobs:
|
||||
python -m pip install -r libcxx/utils/requirements.txt
|
||||
baseline_commit=$(git merge-base ${{ steps.vars.outputs.pr_base }} ${{ steps.vars.outputs.pr_head }})
|
||||
./libcxx/utils/test-at-commit --commit ${baseline_commit} -B build/baseline -- -sv -j1 --param optimization=speed ${{ steps.vars.outputs.benchmarks }}
|
||||
./libcxx/utils/consolidate-benchmarks build/baseline | tee baseline.lnt
|
||||
|
||||
- name: Run candidate
|
||||
run: |
|
||||
source .venv/bin/activate && cd repo
|
||||
./libcxx/utils/test-at-commit --commit ${{ steps.vars.outputs.pr_head }} -B build/candidate -- -sv -j1 --param optimization=speed ${{ steps.vars.outputs.benchmarks }}
|
||||
./libcxx/utils/consolidate-benchmarks build/candidate | tee candidate.lnt
|
||||
|
||||
- name: Compare baseline and candidate runs
|
||||
run: |
|
||||
source .venv/bin/activate && cd repo
|
||||
./libcxx/utils/compare-benchmarks <(./libcxx/utils/consolidate-benchmarks build/baseline) \
|
||||
<(./libcxx/utils/consolidate-benchmarks build/candidate) | tee results.txt
|
||||
./libcxx/utils/compare-benchmarks baseline.lnt candidate.lnt | tee results.txt
|
||||
|
||||
- name: Update comment with results
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user