Skip to content

Commit ef49e37

Browse files
authored
Merge pull request #2797 from PatKamin/change-data-link
[CI] Change benchmarks data link
2 parents 6772259 + 0474853 commit ef49e37

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/benchmarks-reusable.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ jobs:
218218
body: body
219219
})
220220
221-
- name: Commit data.json and results directory
221+
- name: Commit data.json, data_archive.json, and results directory
222222
working-directory: results-repo
223223
run: |
224224
git config --global user.name "GitHub Actions Bot"
@@ -227,11 +227,12 @@ jobs:
227227
for attempt in {1..5}; do
228228
echo "Attempt #$attempt to push changes"
229229
230-
rm -f data.json
230+
rm -f data.json data_archive.json
231231
cp ${{ github.workspace }}/sc/devops/scripts/benchmarks/html/data.json .
232+
cp ${{ github.workspace }}/sc/devops/scripts/benchmarks/html/data_archive.json .
232233
233-
git add data.json results/
234-
git commit -m "Add benchmark results and data.json"
234+
git add data.json data_archive.json results/
235+
git commit -m "Add benchmark results, data.json, and data_archive.json"
235236
236237
results_file=$(git diff HEAD~1 --name-only -- results/ | head -n 1)
237238
@@ -252,9 +253,7 @@ jobs:
252253
mv ${{ github.workspace }}/temp_$(basename $results_file) $new_file
253254
fi
254255
255-
echo "Regenerating data.json"
256-
# --sycl and --ur params must be set to some values for the dry-run to properly output metadata for sycl and ur based benchmarks.
257-
# TODO: remove this once it's addressed in the benchmark scripts.
258-
(cd ${{ github.workspace }} && ${{ github.workspace }}/sc/devops/scripts/benchmarks/main.py ~/ur_bench_workdir --dry-run --sycl invalid --ur invalid --results-dir ${{ github.workspace }}/results-repo --output-html remote)
256+
echo "Regenerating data.json and data_archive.json"
257+
(cd ${{ github.workspace }} && ${{ github.workspace }}/sc/devops/scripts/benchmarks/main.py ~/ur_bench_workdir --dry-run --results-dir ${{ github.workspace }}/results-repo --output-html remote)
259258
260259
done

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Replace config.js
6868
run: |
6969
cat << 'EOF' > ${{ github.workspace }}/docs/html/performance/config.js
70-
remoteDataUrl = 'https://raw.githubusercontent.com/oneapi-src/unified-runtime/refs/heads/benchmark-results/data.json';
70+
remoteDataUrl = 'https://raw.githubusercontent.com/oneapi-src/unified-runtime/refs/heads/benchmark-results/';
7171
defaultCompareNames = ["Baseline_PVC_L0", "Baseline_PVC_L0v2"];
7272
EOF
7373

0 commit comments

Comments
 (0)