Add CI test for background CPU usage on mobile
Categories
(Testing :: Raptor, task, P2)
Tracking
(firefox129 fixed)
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: sparky, Assigned: sparky)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxp])
Attachments
(2 files)
This bug is for adding a test for background CPU usage on mobile for Firefox, and Chrome browsers.
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
:mleclair/:kaya, could either of you provide the scripts for this test and any additional info we might need for this?
Assignee | ||
Updated•1 year ago
|
Comment 2•1 year ago
|
||
:sparky,
I think we can utilize a multiple background processes to handle this task. One process will run the test, i.e. typing into the url bar, doing some regular surfing etc, and the other one collecting the process information.
The ps
command has cpu
, c
, time
, %cpu
values which are:
# cpu: processor being used
# c: total %CPU used since start
# time: CPU time consumed
# %cpu: percentage of CPU time used
Here's some scripts that run tests and collect process info simultaneously.
https://drive.google.com/drive/folders/1f6tlKkf1NuLxnWQxfV2RoJTl4VhCQyz4?usp=sharing
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
This patch adds new fetch, and toolchain tasks for the xmlstarlet tool that will be used for Android performance tests.
Depends on D212628
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
This patch adds a new background CPU usage test that will run through mozperftest. The test starts the Fenix application, and then backgrounds it for 10 minutes to measure the CPU usage throughout that time. The hook is used to setup the xmlstarlet tool.
Depends on D212629
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 7•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/09719ffa83b4
https://hg.mozilla.org/mozilla-central/rev/ecf3711dfacb
Description
•