wlauto.workloads.smartbench package¶
Module contents¶
-
class
wlauto.workloads.smartbench.
Smartbench
(device, **kwargs)[source]¶ Bases:
wlauto.common.android.workload.AndroidUiAutoBenchmark
-
activity
= '.Smartbench2012'¶
-
aliases
= AC([])¶
-
artifacts
= AC([])¶
-
core_modules
= []¶
-
description
= '\n Smartbench is a multi-core friendly benchmark application that measures the\n overall performance of an android device. It reports both Productivity and\n Gaming Index.\n\n https://play.google.com/store/apps/details?id=com.smartbench.twelve&hl=en\n\n From the website:\n\n It will be better prepared for the quad-core world. Unfortunately this also\n means it will run slower on older devices. It will also run slower on\n high-resolution tablet devices. All 3D tests are now rendered in full native\n resolutions so naturally it will stress hardware harder on these devices.\n This also applies to higher resolution hand-held devices.\n '¶
-
finalize
(*args, **kwargs)¶
-
game_regex
= <_sre.SRE_Pattern object>¶
-
initialize
(*args, **kwargs)¶
-
kind
= 'workload'¶
-
name
= 'smartbench'¶
-
package
= 'com.smartbench.twelve'¶
-
parameters
= AC(["Param({'kind': <type 'list'>, 'mandatory': None, 'name': 'modules', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'install_timeout', 'constraint': None, 'default': 300, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'check_apk', 'constraint': None, 'default': True, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'force_install', 'constraint': None, 'default': False, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'uninstall_apk', 'constraint': None, 'default': False, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'exact_abi', 'constraint': None, 'default': False, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'clear_data_on_reset', 'constraint': None, 'default': True, 'allowed_values': None, 'global_alias': None, 'override': False})"])¶
-
prod_regex
= <_sre.SRE_Pattern object>¶
-
run_timeout
= 600¶
-
summary_metrics
= ['Smartbench: valueGame', 'Smartbench: valueProd']¶
-
validate
(*args, **kwargs)¶
-