Bug 1555799 - Add new raptor tests in CI for generating cpu and memory info. r=perftest-reviewers,rwood
This patch adds two new test tasks for each of the 4 Android browsers running speedometer, idle, or idle-background. These tests gather (i) cpu+memory usage, or (ii) cpu+memory+power usage information. The power tests are left as they are for now to determine if there is an impact to our measurements if we run all resource-usage tests at once. Furthermore, the cron job for android power tests was also modified to prevent it from picking up these tasks. The cpu usage functons needed to be fixed here because they were not working on MotoG5/Android7 for two reasons: (i) device version was not being detected properly, and (ii) ADB shell commands can't use the pipe functionality (`|`). Tests needed to be modified to compensate for these changes as well. Differential Revision: https://phabricator.services.mozilla.com/D42679
This commit is contained in:
@@ -517,6 +517,10 @@ def target_tasks_android_power(full_task_graph, parameters, graph_config):
|
||||
try_name = attributes.get('raptor_try_name')
|
||||
if 'geckoview' not in try_name:
|
||||
return False
|
||||
if '-cpu' in try_name:
|
||||
return False
|
||||
if '-memory' in try_name:
|
||||
return False
|
||||
if '-power' in try_name and 'pgo' in platform:
|
||||
if '-speedometer-' in try_name:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user