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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_perf_fyi.py

Issue 2030713004: Refactor chromium.perf recipe configs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@2-refactorr
Patch Set: Rebase, hope it's right :) Created 4 years, 4 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 . import steps 5 from . import steps
6 6
7 7
8 RESULTS_URL = 'https://chromeperf.appspot.com' 8 RESULTS_URL = 'https://chromeperf.appspot.com'
9 9
10 10
11 def _AddBotSpec(name, platform, parent_builder, perf_id, target_bits, 11 def _AddBotSpec(name, platform, parent_builder, perf_id, target_bits,
12 parent_master=None): 12 parent_master=None):
13 SPEC['builders'][name] = { 13 SPEC['builders'][name] = {
14 'disable_tests': True, 14 'disable_tests': True,
15 'bot_type': 'tester', 15 'bot_type': 'tester',
16 'chromium_config_kwargs': { 16 'chromium_config_kwargs': {
17 'BUILD_CONFIG': 'Release', 17 'BUILD_CONFIG': 'Release',
18 'TARGET_BITS': target_bits, 18 'TARGET_BITS': target_bits,
19 }, 19 },
20 'parent_buildername': parent_builder, 20 'parent_buildername': parent_builder,
21 'chromium_config': 'chromium_official', 21 'chromium_config': 'chromium_perf',
22 'chromium_apply_config': ['chromium_perf_fyi'], 22 'gclient_config': 'chromium_perf',
23 'gclient_config': 'perf',
24 'testing': { 23 'testing': {
25 'platform': platform, 24 'platform': platform,
26 }, 25 },
27 'perf-id': perf_id, 26 'perf-id': perf_id,
28 'results-url': RESULTS_URL, 27 'results-url': RESULTS_URL,
29 'tests': [ 28 'tests': [
30 steps.DynamicPerfTests(perf_id, platform, target_bits, 29 steps.DynamicPerfTests(perf_id, platform, target_bits,
31 shard_index=0, num_host_shards=1), 30 shard_index=0, num_host_shards=1),
32 ], 31 ],
33 } 32 }
34 if parent_master: 33 if parent_master:
35 SPEC['builders'][name]['parent_mastername'] = parent_master 34 SPEC['builders'][name]['parent_mastername'] = parent_master
36 35
37 36
38 SPEC = { 37 SPEC = {
39 'settings': { 38 'settings': {
40 'build_gs_bucket': 'chrome-perf', 39 'build_gs_bucket': 'chrome-perf',
41 }, 40 },
42 'builders': { 41 'builders': {
43 'Win Clang Builder': { 42 'Win Clang Builder': {
44 'disable_tests': True, 43 'disable_tests': True,
45 'chromium_config': 'chromium_win_clang_official', 44 'chromium_config': 'chromium_win_clang_official',
46 'gclient_config': 'chromium', 45 'gclient_config': 'chromium_perf',
47 'gclient_apply_config': ['chrome_internal'],
48 'chromium_config_kwargs': { 46 'chromium_config_kwargs': {
49 'BUILD_CONFIG': 'Release', 47 'BUILD_CONFIG': 'Release',
50 'TARGET_BITS': 32, 48 'TARGET_BITS': 32,
51 }, 49 },
52 'bot_type': 'builder', 50 'bot_type': 'builder',
53 'compile_targets': [ 51 'compile_targets': [
54 'chromium_builder_perf', 52 'chromium_builder_perf',
55 ], 53 ],
56 'testing': { 54 'testing': {
57 'platform': 'win', 55 'platform': 'win',
58 }, 56 },
59 'tests': { 57 'tests': {
60 steps.SizesStep(RESULTS_URL, 'win-clang-builder') 58 steps.SizesStep(RESULTS_URL, 'win-clang-builder')
61 }, 59 },
62 'chromium_apply_config': ['chromium_perf_fyi'],
63 }, 60 },
64 }, 61 },
65 } 62 }
66 63
67 _AddBotSpec( 64 _AddBotSpec(
68 name='Win 7 Intel GPU Perf (Xeon)', 65 name='Win 7 Intel GPU Perf (Xeon)',
69 platform='win', 66 platform='win',
70 parent_builder='Win x64 Builder', 67 parent_builder='Win x64 Builder',
71 perf_id='chromium-rel-win7-gpu-intel', 68 perf_id='chromium-rel-win7-gpu-intel',
72 target_bits=64, 69 target_bits=64,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 target_bits=64, 108 target_bits=64,
112 parent_master='chromium.perf') 109 parent_master='chromium.perf')
113 110
114 _AddBotSpec( 111 _AddBotSpec(
115 name='Mac Test Retina Perf', 112 name='Mac Test Retina Perf',
116 platform='mac', 113 platform='mac',
117 parent_builder='Mac Builder', 114 parent_builder='Mac Builder',
118 perf_id='mac-test-retina', 115 perf_id='mac-test-retina',
119 target_bits=64, 116 target_bits=64,
120 parent_master='chromium.perf') 117 parent_master='chromium.perf')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698