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

Side by Side Diff: scripts/slave/recipes/android/perf.py

Issue 2018003002: New chromium.perf.fyi bots! Mac Retina and Android Galaxy S5. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix expectations. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from recipe_engine.types import freeze 5 from recipe_engine.types import freeze
6 6
7 7
8 DEPS = [ 8 DEPS = [
9 'adb', 9 'adb',
10 'chromium', 10 'chromium',
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 _CreateTestSpec('Android Nexus5X WebView Perf', 'android-webview-nexus5X', 85 _CreateTestSpec('Android Nexus5X WebView Perf', 'android-webview-nexus5X',
86 required_apks=['SystemWebView.apk', 'SystemWebViewShell.apk'], 86 required_apks=['SystemWebView.apk', 'SystemWebViewShell.apk'],
87 num_device_shards=7, num_host_shards=3, target_bits=64, 87 num_device_shards=7, num_host_shards=3, target_bits=64,
88 browser_name='android-webview', remove_system_webview=True), 88 browser_name='android-webview', remove_system_webview=True),
89 ] 89 ]
90 master_spec = {} 90 master_spec = {}
91 for spec in testers: 91 for spec in testers:
92 master_spec.update(spec) 92 master_spec.update(spec)
93 return master_spec 93 return master_spec
94 94
95 def _ChromiumPerfFyiTesters():
96 testers = [
97 _CreateTestSpec('Android Galaxy S5 Perf', 'android-galaxy-s5',
98 required_apks=['ChromePublic.apk'], num_device_shards=7,
99 num_host_shards=1, target_bits=32),
100 ]
101
102 master_spec = {}
103 for spec in testers:
104 master_spec.update(spec)
105 return master_spec
106
95 BUILDERS = freeze({ 107 BUILDERS = freeze({
96 'chromium.perf': _ChromiumPerfTesters(), 108 'chromium.perf': _ChromiumPerfTesters(),
109 'chromium.perf.fyi': _ChromiumPerfFyiTesters(),
97 }) 110 })
98 111
99 112
100 def RunSteps(api): 113 def RunSteps(api):
101 mastername = api.properties['mastername'] 114 mastername = api.properties['mastername']
102 buildername = api.properties['buildername'] 115 buildername = api.properties['buildername']
103 # TODO(akuegel): Move the configs in builders.py in chromium_tests to this 116 # TODO(akuegel): Move the configs in builders.py in chromium_tests to this
104 # recipe, and get rid of duplications. 117 # recipe, and get rid of duplications.
105 builder = dict(BUILDERS[mastername][buildername]) 118 builder = dict(BUILDERS[mastername][buildername])
106 builder_config = builder.get('recipe_config', 'base_config') 119 builder_config = builder.get('recipe_config', 'base_config')
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 mastername='chromium.perf', 279 mastername='chromium.perf',
267 buildername='Android Nexus5 Perf (1)', 280 buildername='Android Nexus5 Perf (1)',
268 parent_buildername='parent_buildername', 281 parent_buildername='parent_buildername',
269 parent_buildnumber='1729', 282 parent_buildnumber='1729',
270 parent_revision='deadbeef', 283 parent_revision='deadbeef',
271 revision='deadbeef', 284 revision='deadbeef',
272 slavename='slavename', 285 slavename='slavename',
273 target='Release') + 286 target='Release') +
274 api.override_step_data( 287 api.override_step_data(
275 'perf_test.foo', retcode=87)) 288 'perf_test.foo', retcode=87))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698