mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
OHOS CI: Allow benchmarking of files and show smaps (#37881)
OHOS CI: Now we can benchmark specific files. These files need to be in the runs.json and in the supprt/hitrace-bench folder. A simple testcase of parsing html from string is included (taken from https://github.com/servo/servo/issues/37223). We copy all files in support/hitrace-bench into the hap of the phone. These files can use the console.log javascript command to get their measured output. Additionally, this now supports reporting resident-accordings-to-smaps which is a slightly different memory than resident. This needs update to hitrace-bench 0.7 which will be completed once the PR is marked ready. Testing: On action runner here: https://github.com/Narfinger/servo/actions/runs/16118101025/job/45477031813 Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
parent
c00831f1ed
commit
c3f441d7ab
4 changed files with 66 additions and 0 deletions
2
.github/workflows/ohos.yml
vendored
2
.github/workflows/ohos.yml
vendored
|
@ -166,6 +166,8 @@ jobs:
|
|||
- run: |
|
||||
git switch --detach
|
||||
git reset --hard FETCH_HEAD
|
||||
- name: Adding test files to directory
|
||||
run: cp -r support/hitrace-bencher/* support/openharmony/AppScope/resources/resfile/
|
||||
- name: Build for aarch64 HarmonyOS
|
||||
run: |
|
||||
./mach build --locked --target aarch64-unknown-linux-ohos --profile=${{ inputs.profile }} --flavor=harmonyos --no-default-features --features tracing,tracing-hitrace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue