Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: infra/bots/recipes/swarm_perf.py

Issue 2343903002: Run SVGs through nanobench on all Perf bots (Closed)
Patch Set: Add test code Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: infra/bots/recipes/swarm_perf.py
diff --git a/infra/bots/recipes/swarm_perf.py b/infra/bots/recipes/swarm_perf.py
index 96e21e1b026cdbf041809826383571c958becf0f..a8c6207777c3e25f0caa5003828b2f8f4316ce8a 100644
--- a/infra/bots/recipes/swarm_perf.py
+++ b/infra/bots/recipes/swarm_perf.py
@@ -53,6 +53,9 @@ def nanobench_flags(bot):
args.extend(['--useThermalManager', '1,1,10,1000'])
args.extend(['--scales', '1.0', '1.1'])
+ if 'Android' in bot and 'GPU' in bot:
+ # Add additional scales for Android GPU bots (mainly for SVGs).
+ args.extend(['2.0', '4.0'])
if 'iOS' in bot:
args.extend(['--skps', 'ignore_skps'])
@@ -188,6 +191,7 @@ def perf_steps(api):
'--undefok', # This helps branches that may not know new flags.
'-i', api.flavor.device_dirs.resource_dir,
'--skps', api.flavor.device_dirs.skp_dir,
+ '--svgs', api.flavor.device_dirs.svg_dir,
'--images', api.flavor.device_path_join(
api.flavor.device_dirs.images_dir, 'nanobench'),
]

Powered by Google App Engine
This is Rietveld 408576698