OHOS CI allow profile (#37963)

OHOS CI: We now allow a profile flag. The profile name will be prepended
to all measurements.
This allows us to distinguish different build profiles in bencher.
Additionally we are more robust on duplicated entries for some
measurements.

Testing: Tested on CI with a run here:
https://github.com/Narfinger/servo/actions/runs/16168150429/job/45635086884
Fixes: https://github.com/servo/servo/issues/37890

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
Narfinger 2025-07-10 09:58:15 +09:00 committed by GitHub
parent 47c56d8d74
commit 4615464388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 10 deletions

View file

@ -36,7 +36,7 @@ env:
SHELL: /bin/bash
CARGO_INCREMENTAL: 0
BENCHER_PROJECT: ${{ vars.BENCHER_PROJECT || 'servo' }}
HITRACE_BENCH_VERSION: 0.7.0
HITRACE_BENCH_VERSION: 0.8.2
jobs:
build:
@ -285,7 +285,7 @@ jobs:
run: cargo install --locked hitrace-bench --version $HITRACE_BENCH_VERSION
if: ${{ env.INSTALLED_HITRACE_BENCH_VERSION != env.HITRACE_BENCH_VERSION }}
- name: "Run benchmark"
run: hitrace-bench -r support/hitrace-bencher/runs.json
run: hitrace-bench -r support/hitrace-bencher/runs.json --bencher -p ${{ inputs.profile }}
continue-on-error: true
- name: Run speedometer
id: BencherRun